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-11-25 16:28:20 +0300
committerHannah von Reth <vonreth@kde.org>2021-11-25 16:51:05 +0300
commit0161dac554c51699e19063b516c00cbb5652b7b8 (patch)
treeb52bda73740c3bb63684f6236b4eae0b5d4a1c0d /src/gui/accountstate.cpp
parentfcf065a0cf52f69d9651211c6175e1e8f5b8bfe7 (diff)
Update src/gui/accountstate.cpp
Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com>
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r--src/gui/accountstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index f5e4c47e3..c9ab14fe2 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -95,7 +95,7 @@ AccountState::AccountState(AccountPtr account)
, _state(AccountState::Disconnected)
, _connectionStatus(ConnectionValidator::Undefined)
, _waitingForNewCredentials(false)
- , _maintenanceToConnectedDelay(1min + std::chrono::minutes(QRandomGenerator::global()->generate() % 4)) // 1-5min delay
+ , _maintenanceToConnectedDelay(1min + minutes(QRandomGenerator::global()->generate() % 4)) // 1-5min delay
{
qRegisterMetaType<AccountState *>("AccountState*");