Changeset View
Changeset View
Standalone View
Standalone View
krusader/FileSystem/defaultfilesystem.cpp
Context not available. | |||||
323 | bool DefaultFileSystem::refreshLocal(const QUrl &directory, bool onlyScan) { | 323 | bool DefaultFileSystem::refreshLocal(const QUrl &directory, bool onlyScan) { | ||
---|---|---|---|---|---|
324 | const QString path = KrServices::urlToLocalPath(directory); | 324 | const QString path = KrServices::urlToLocalPath(directory); | ||
325 | 325 | | |||
326 | #ifdef Q_WS_WIN | 326 | #ifdef Q_OS_WIN | ||
327 | if (!path.contains("/")) { // change C: to C:/ | 327 | if (!path.contains("/")) { // change C: to C:/ | ||
328 | path = path + QString("/"); | 328 | path = path + QString("/"); | ||
329 | } | 329 | } | ||
Context not available. |