Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-08-25 18:00:53 +0300
committerHannah von Reth <vonreth@kde.org>2021-11-25 16:51:05 +0300
commitfee6cd11971e62dc276c50297e2526b784192682 (patch)
tree6355dd98fecd6d0f3d4856fb7062349e6e4e8220 /src/gui/folderstatusmodel.cpp
parenta9cf7edffcbc6ee2bf8062c27903d1ea83619b27 (diff)
Use std::chrono with QTimer::singleShot
Diffstat (limited to 'src/gui/folderstatusmodel.cpp')
-rw-r--r--src/gui/folderstatusmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp
index 1326fddc2..76329a8e8 100644
--- a/src/gui/folderstatusmodel.cpp
+++ b/src/gui/folderstatusmodel.cpp
@@ -582,7 +582,7 @@ void FolderStatusModel::fetchMore(const QModelIndex &parent)
// Show 'fetching data...' hint after a while.
_fetchingItems[persistentIndex].start();
- QTimer::singleShot(1000, this, &FolderStatusModel::slotShowFetchProgress);
+ QTimer::singleShot(1s, this, &FolderStatusModel::slotShowFetchProgress);
}
void FolderStatusModel::resetAndFetch(const QModelIndex &parent)