diff --git a/src/corelib/io/qfilesystemwatcher_win.cpp b/src/corelib/io/qfilesystemwatcher_win.cpp index 29dd78030b..31c6b747a7 100644 --- a/src/corelib/io/qfilesystemwatcher_win.cpp +++ b/src/corelib/io/qfilesystemwatcher_win.cpp @@ -596,7 +596,7 @@ QStringList QWindowsFileSystemWatcherEngine::removePaths(const QStringList &path } } - threads.removeAll(0); + threads.removeAll(nullptr); return unhandled; }