summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-10 13:45:13 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-10 13:45:13 -0800
commit111a153295dd50822dfe84da7b45ba06cac7bc84 (patch)
tree1154c0a2c60eab42f087ad4749c058e53bf2cb58 /desktop-widgets/mainwindow.cpp
parent77d7e773b913378486399d292cc21c4329387578 (diff)
downloadsubsurface-111a153295dd50822dfe84da7b45ba06cac7bc84.tar.gz
Preferences: correctly hook up the signals to enable/disable cloud storage
This way the menu state matches the actual verification state again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 41d0fd592..d31a2379f 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1244,6 +1244,9 @@ void MainWindow::readSettings()
}
QNetworkProxy::setApplicationProxy(proxy);
+ // now make sure that the cloud menu items are enabled IFF cloud account is verified
+ enableDisableCloudActions();
+
#if !defined(SUBSURFACE_MOBILE)
loadRecentFiles(&s);
if (firstRun) {