QFileSystemWatcher watcher;
watcher.addPath("");
watcher.addPath("nonexisting");
watcher.addPaths(QStringList());
watcher.addPaths(QStringList("nonexisting"));
Running the code prints following messages
QFileSystemWatcher::addPath: path is empty inotify_add_watch("nonexisting") failed: "No such file or directory" QFileSystemWatcher::addPaths: list is empty inotify_add_watch("nonexisting") failed: "No such file or directory"
I don't think that any of those is relevant.
| For Gerrit Dashboard: QTBUG-68586 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 231730,2 | QFileSystemWatcher/Linux: don't print warnings for benign cases | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |