From 6c036ebca64ad75f646c12deb8bfe4378d019b2c Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 19 Sep 2023 11:18:58 +0200 Subject: [PATCH] fix order of init in a constructor to avoid warnings Signed-off-by: Matthieu Gallien --- src/gui/accountstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp index d6c5da88cfddc..59548de9d2b17 100644 --- a/src/gui/accountstate.cpp +++ b/src/gui/accountstate.cpp @@ -45,8 +45,8 @@ AccountState::AccountState(AccountPtr account) , _account(account) , _state(AccountState::Disconnected) , _connectionStatus(ConnectionValidator::Undefined) - , _maintenanceToConnectedDelay(60000 + (QRandomGenerator::global()->generate() % (4 * 60000))) // 1-5min delay , _waitingForNewCredentials(false) + , _maintenanceToConnectedDelay(60000 + (QRandomGenerator::global()->generate() % (4 * 60000))) // 1-5min delay , _remoteWipe(new RemoteWipe(_account)) , _isDesktopNotificationsAllowed(true) {