Changeset View
Changeset View
Standalone View
Standalone View
src/ioslaves/file/file_win.cpp
Show First 20 Lines • Show All 185 Lines • ▼ Show 20 Line(s) | |||||
186 | } | 186 | } | ||
187 | 187 | | |||
188 | void FileProtocol::listDir(const QUrl &url) | 188 | void FileProtocol::listDir(const QUrl &url) | ||
189 | { | 189 | { | ||
190 | // qDebug() << "========= LIST " << url << " ========="; | 190 | // qDebug() << "========= LIST " << url << " ========="; | ||
191 | 191 | | |||
192 | if (!url.isLocalFile()) { | 192 | if (!url.isLocalFile()) { | ||
193 | QUrl redir(url); | 193 | QUrl redir(url); | ||
194 | redir.setScheme(config()->readEntry("DefaultRemoteProtocol", "smb")); | 194 | redir.setScheme(configValue(QStringLiteral("DefaultRemoteProtocol"), QStringLiteral("smb"))); | ||
195 | redirection(redir); | 195 | redirection(redir); | ||
196 | // qDebug() << "redirecting to " << redir; | 196 | // qDebug() << "redirecting to " << redir; | ||
197 | finished(); | 197 | finished(); | ||
198 | return; | 198 | return; | ||
199 | } | 199 | } | ||
200 | 200 | | |||
201 | QString path = url.toLocalFile(); | 201 | QString path = url.toLocalFile(); | ||
202 | // C: means current directory, a concept which makes no sense in a GUI | 202 | // C: means current directory, a concept which makes no sense in a GUI | ||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |