summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-27 09:34:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-28 08:34:56 -0800
commitad1c3892f97fd1a95398182974397682e2c5521c (patch)
treef02a106ab1b8d856506a4b3e4441fc3a8fbf4c86 /mobile-widgets/qmlprefs.h
parente944a93050c910d12fe8fe7f4d8194b3148818f7 (diff)
downloadsubsurface-ad1c3892f97fd1a95398182974397682e2c5521c.tar.gz
mobile-widgets: remove clearCredentials()
clearCredentials() was only called from one place (in the same file), copy functionality and remove function. It was declared as a public slot, so this saves a little bit of overhead too. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlprefs.h')
-rw-r--r--mobile-widgets/qmlprefs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h
index 6d36334ce..67b086c95 100644
--- a/mobile-widgets/qmlprefs.h
+++ b/mobile-widgets/qmlprefs.h
@@ -43,9 +43,6 @@ public:
bool showPin() const;
void setShowPin(bool enable);
-public slots:
- void clearCredentials();
-
private:
QString m_cloudPin;
qPrefCloudStorage::cloud_status m_credentialStatus;