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/main.cpp
parenta9cf7edffcbc6ee2bf8062c27903d1ea83619b27 (diff)
Use std::chrono with QTimer::singleShot
Diffstat (limited to 'src/gui/main.cpp')
-rw-r--r--src/gui/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 2efefca7e..f82e08be3 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
app.tryTrayAgain();
} else if (desktopSession != "ubuntu") {
qCInfo(lcApplication) << "System tray still not available, showing window and trying again later";
- QTimer::singleShot(10000, &app, &Application::tryTrayAgain);
+ QTimer::singleShot(10s, &app, &Application::tryTrayAgain);
} else {
qCInfo(lcApplication) << "System tray still not available, but assuming it's fine on 'ubuntu' desktop";
}