projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e4fc5
)
FolderWatcher: Usage of QTime for elapsed time is deprecated
author
Olivier Goffart
<ogoffart@woboq.com>
Wed, 5 Feb 2020 11:29:06 +0000
(12:29 +0100)
committer
Camila (Rebase PR Action)
<hello@camila.codes>
Tue, 24 Nov 2020 16:56:49 +0000
(16:56 +0000)
src/gui/folderwatcher.h
patch
|
blob
|
history
diff --git
a/src/gui/folderwatcher.h
b/src/gui/folderwatcher.h
index f7d75fcc42c3d35f8a5f84f9d461592b6c8b7c61..c98db8f68816f8c9dfaf59f1fdfee6dd7b43fa15 100644
(file)
--- a/
src/gui/folderwatcher.h
+++ b/
src/gui/folderwatcher.h
@@
-22,7
+22,7
@@
#include <QObject>
#include <QString>
#include <QStringList>
-#include <Q
Time
>
+#include <Q
ElapsedTimer
>
#include <QHash>
#include <QScopedPointer>
#include <QSet>
@@
-117,7
+117,7
@@
protected:
private:
QScopedPointer<FolderWatcherPrivate> _d;
- Q
Time
_timer;
+ Q
ElapsedTimer
_timer;
QSet<QString> _lastPaths;
Folder *_folder;
bool _isReliable = true;