diff options
| author | 2019-12-27 14:05:47 +0100 | |
|---|---|---|
| committer | 2019-12-28 08:34:56 -0800 | |
| commit | 3155b039175436f3d32f5c1719a56f99dadf2f5f (patch) | |
| tree | 6ed60ef3b8bd924b63cd303c0c8d6562eda42df1 /mobile-widgets | |
| parent | 096f9773f0812d9713292ac2e2e1d4dc9f88ecde (diff) | |
| download | subsurface-3155b039175436f3d32f5c1719a56f99dadf2f5f.tar.gz | |
mobile-widgets: make verifyCredentials() an internal function
Move verifyCredentials() from public slots to private, eliminating
the need to MOC and making the C++/QML interface on function less
complicated.
Signed-off-by: Jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
| -rw-r--r-- | mobile-widgets/qmlmanager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 12a8496e8..281d20778 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -168,7 +168,6 @@ public slots: void appInitialized(); void applicationStateChanged(Qt::ApplicationState state); void saveCloudCredentials(const QString &email, const QString &password, const QString &pin); - bool verifyCredentials(QString email, QString password, QString pin); void tryRetrieveDataFromBackend(); void handleError(QNetworkReply::NetworkError nError); void handleSslErrors(const QList<QSslError> &errors); @@ -267,6 +266,8 @@ private: struct dive *m_copyPasteDive = NULL; struct dive_components what; + bool verifyCredentials(QString email, QString password, QString pin); + #if defined(Q_OS_ANDROID) || defined(Q_OS_IOS) QString appLogFileName; QFile appLogFile; |