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-10-28 15:47:00 +0300
committerHannah von Reth <vonreth@kde.org>2021-11-25 16:51:05 +0300
commitfcf065a0cf52f69d9651211c6175e1e8f5b8bfe7 (patch)
tree205640b3df5062960ee05ef0ec0d765bb521af91 /src/gui/application.cpp
parenta0bf5f9fb91804693575975155f9e15575d33d7f (diff)
Use some more std::chrono
Diffstat (limited to 'src/gui/application.cpp')
-rw-r--r--src/gui/application.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/application.cpp b/src/gui/application.cpp
index ba9901729..16ec28bb6 100644
--- a/src/gui/application.cpp
+++ b/src/gui/application.cpp
@@ -275,8 +275,9 @@ Application::Application(int &argc, char **argv)
ConfigFile cfg;
// The timeout is initialized with an environment variable, if not, override with the value from the config
- if (!AbstractNetworkJob::httpTimeout)
+ if (!AbstractNetworkJob::httpTimeout.count()) {
AbstractNetworkJob::httpTimeout = cfg.timeout();
+ }
// Check vfs plugins
if (Theme::instance()->showVirtualFilesOption() && bestAvailableVfsMode() == Vfs::Off) {