summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-10-19 22:52:02 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-10-20 01:25:38 +0200
commit85ed79e5913332e5c44797ef2346fc5913948ac4 (patch)
tree5078854316f9a14c538bc625d1f6e38db367a400 /src/corelib/io
parentb60c39fe65543b436cb47e19979b80c78000d998 (diff)
QFileSystemWatcher: use nullptr, instead of 0
I'm not sure why this hasn't been flagged so far, probably we don't have this warning enabled on MSVC. Task-number: QTBUG-87713 Change-Id: I97c65079c8f8e439645ff7fe75eede9b01b26166 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qfilesystemwatcher_win.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}