Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_internal.cpp
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Line(s) | 114 | { | |||
---|---|---|---|---|---|
135 | 135 | | |||
136 | return m_type; | 136 | return m_type; | ||
137 | } | 137 | } | ||
138 | 138 | | |||
139 | SMBUrl SMBUrl::partUrl() const | 139 | SMBUrl SMBUrl::partUrl() const | ||
140 | { | 140 | { | ||
141 | if (m_type == SMBURLTYPE_SHARE_OR_PATH && !fileName().isEmpty()) { | 141 | if (m_type == SMBURLTYPE_SHARE_OR_PATH && !fileName().isEmpty()) { | ||
142 | SMBUrl url (*this); | 142 | SMBUrl url (*this); | ||
143 | url.setFileName(fileName() + QLatin1String(".part")); | 143 | url.setPath(path() + QLatin1String(".part")); | ||
144 | return url; | 144 | return url; | ||
145 | } | 145 | } | ||
146 | 146 | | |||
147 | return SMBUrl(); | 147 | return SMBUrl(); | ||
148 | } | 148 | } |