aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index d3ea320c2..e70b18027 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -692,7 +692,7 @@ bool QMLManager::verifyCredentials(QString email, QString password, QString pin)
QEventLoop loop;
connect(csa, &CloudStorageAuthenticate::finishedAuthenticate, &loop, &QEventLoop::quit);
connect(&myTimer, &QTimer::timeout, &loop, &QEventLoop::quit);
- myTimer.start(5000);
+ myTimer.start(prefs.cloud_timeout * 1000);
loop.exec();
if (!myTimer.isActive()) {
// got no response from the server