aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/folderlistmodel/fileinfothread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/folderlistmodel/fileinfothread.cpp b/src/imports/folderlistmodel/fileinfothread.cpp
index b085233f01..e1db7834ec 100644
--- a/src/imports/folderlistmodel/fileinfothread.cpp
+++ b/src/imports/folderlistmodel/fileinfothread.cpp
@@ -86,6 +86,8 @@ void FileInfoThread::removePath(const QString &path)
#ifndef QT_NO_FILESYSTEMWATCHER
if (!path.startsWith(QLatin1Char(':')))
watcher->removePath(path);
+#else
+ Q_UNUSED(path);
#endif
currentPath.clear();
}