aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-14 13:50:13 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-14 14:06:28 -0700
commitb5eb66545b4c28809610d0778b9a797da9dda002 (patch)
treeefd7b4c175a7dc5f3454078fe668b85baecf1d6e /qt-ui/preferences.h
parent8f7a4a1a97629f29e054a9a2204bfffa558e1121 (diff)
downloadsubsurface-b5eb66545b4c28809610d0778b9a797da9dda002.tar.gz
Cloud storage: clean up handling of cloud storage account
Correctly tracking the status of our authentication with the cloud service is non-trivial, especially since the user may quit Subsurface between registering and verifying an account, they might even register on one machine and verify on another. This tries to make sure that when in doubt we check with the cloud service backend. And we show errors in the UI. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r--qt-ui/preferences.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
index 9e2e25da3..2402a7964 100644
--- a/qt-ui/preferences.h
+++ b/qt-ui/preferences.h
@@ -39,7 +39,7 @@ slots:
void on_cloudDefaultFile_toggled(bool toggle);
void facebookLoggedIn();
void facebookDisconnect();
- void cloudPinNeeded(bool toggle);
+ void cloudPinNeeded();
private:
explicit PreferencesDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
void setUiFromPrefs();