Skip to content

Commit

Permalink
QFileSystemWatcher: use nullptr, instead of 0
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dangelog committed Oct 19, 2020
1 parent b60c39f commit 85ed79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/io/qfilesystemwatcher_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ QStringList QWindowsFileSystemWatcherEngine::removePaths(const QStringList &path
}
}

threads.removeAll(0);
threads.removeAll(nullptr);
return unhandled;
}

Expand Down

0 comments on commit 85ed79e

Please sign in to comment.