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

[nextcloud] Remove unused member

parent aff1cc03
...@@ -112,10 +112,8 @@ void NextcloudController::wrongUrlDetected() ...@@ -112,10 +112,8 @@ void NextcloudController::wrongUrlDetected()
// Open Webview for nextcloud login. // Open Webview for nextcloud login.
void NextcloudController::finalUrlHandler(const QUrl &url){ void NextcloudController::finalUrlHandler(const QUrl &url){
m_finalUrl = url;
// To fetch m_username and m_password from final url // To fetch m_username and m_password from final url
QString finalURLtoString = m_finalUrl.toString(); QString finalURLtoString = url.toString();
int username_ini_pos = finalURLtoString.indexOf("&user:") + 6; int username_ini_pos = finalURLtoString.indexOf("&user:") + 6;
int password_ini_pos = finalURLtoString.indexOf("&password:") + 10; int password_ini_pos = finalURLtoString.indexOf("&password:") + 10;
int username_size = password_ini_pos - username_ini_pos - 10; int username_size = password_ini_pos - username_ini_pos - 10;
......
...@@ -77,7 +77,6 @@ private: ...@@ -77,7 +77,6 @@ private:
QString m_server; QString m_server;
QString m_username; QString m_username;
QString m_password; QString m_password;
QUrl m_finalUrl;
QStringList m_disabledServices; QStringList m_disabledServices;
bool m_isWorking = false; bool m_isWorking = false;
State m_state = ServerUrl; State m_state = ServerUrl;
......
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