diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-23 14:41:50 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-23 16:05:39 +0100 |
commit | e0b9beb63dead017b6849ebcaa91c04a57f955c6 (patch) | |
tree | f544b7eec2f173feba8fcd60c8a9f0828ff1957c /src/printsupport/dialogs/qprintdialog_unix.cpp | |
parent | 7ac4e55cb979dff890f1575e771e5f2def9e3131 (diff) |
QFileInfoGatherer: don't pass empty list to QFileSystemWatcher
When an empty list is passed to QFileSystemWatcher::unwatchPaths() a
warning is printed out. To avoid this, check if the container is not
empty before calling unwatchPaths()
Fixes: QTBUG-80965
Change-Id: I23a7946e1e16a8d899abf6cce6b75a6f3662ca0f
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/printsupport/dialogs/qprintdialog_unix.cpp')
0 files changed, 0 insertions, 0 deletions