From 85ed79e5913332e5c44797ef2346fc5913948ac4 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 19 Oct 2020 22:52:02 +0200 Subject: [PATCH] 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 --- src/corelib/io/qfilesystemwatcher_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }