Commit aff1cc03 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[nextcloud] Remove unused isLoginComplete property

parent 60367561
......@@ -180,10 +180,8 @@ void NextcloudController::authCheckResult(KJob *job)
m_errorMessage = i18n("Unable to authenticate using the provided username and password");
} else {
m_errorMessage.clear();
m_isLoginComplete = true;
m_state = Services;
Q_EMIT stateChanged();
Q_EMIT isLoginCompleteChanged();
}
Q_EMIT errorMessageChanged();
......@@ -201,11 +199,6 @@ QString NextcloudController::errorMessage() const
return m_errorMessage;
}
bool NextcloudController::isLoginComplete()
{
return m_isLoginComplete;
}
void NextcloudController::finish(bool contactsEnabled)
{
QVariantMap data;
......
......@@ -29,7 +29,6 @@ class NextcloudController : public QObject
{
Q_OBJECT
Q_PROPERTY(bool isWorking READ isWorking NOTIFY isWorkingChanged)
Q_PROPERTY(bool isLoginComplete READ isLoginComplete NOTIFY isLoginCompleteChanged)
Q_PROPERTY(QString errorMessage READ errorMessage NOTIFY errorMessageChanged)
Q_PROPERTY(State state MEMBER m_state NOTIFY stateChanged)
Q_PROPERTY(QQuickWebEngineProfile *webengineProfile MEMBER m_webengineProfile CONSTANT)
......@@ -56,7 +55,6 @@ public:
Q_SIGNALS:
void isWorkingChanged();
void errorMessageChanged();
void isLoginCompleteChanged();
void wizardFinished(const QString &username, const QString &password, const QVariantMap &data);
void stateChanged();
void loginUrlChanged();
......@@ -82,7 +80,6 @@ private:
QUrl m_finalUrl;
QStringList m_disabledServices;
bool m_isWorking = false;
bool m_isLoginComplete = false;
State m_state = ServerUrl;
QQuickWebEngineProfile *m_webengineProfile;
NextcloudUrlIntercepter m_urlIntercepter;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment