Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KAccounts Providers
Commits
e0544392
Commit
e0544392
authored
Sep 22, 2020
by
Nicolas Fella
Browse files
[nextcloud] Remove unused member
parent
aff1cc03
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/nextcloud-ui/nextcloudcontroller.cpp
View file @
e0544392
...
...
@@ -112,10 +112,8 @@ void NextcloudController::wrongUrlDetected()
// Open Webview for nextcloud login.
void
NextcloudController
::
finalUrlHandler
(
const
QUrl
&
url
){
m_finalUrl
=
url
;
// To fetch m_username and m_password from final url
QString
finalURLtoString
=
m_finalU
rl
.
toString
();
QString
finalURLtoString
=
u
rl
.
toString
();
int
username_ini_pos
=
finalURLtoString
.
indexOf
(
"&user:"
)
+
6
;
int
password_ini_pos
=
finalURLtoString
.
indexOf
(
"&password:"
)
+
10
;
int
username_size
=
password_ini_pos
-
username_ini_pos
-
10
;
...
...
plugins/nextcloud-ui/nextcloudcontroller.h
View file @
e0544392
...
...
@@ -77,7 +77,6 @@ private:
QString
m_server
;
QString
m_username
;
QString
m_password
;
QUrl
m_finalUrl
;
QStringList
m_disabledServices
;
bool
m_isWorking
=
false
;
State
m_state
=
ServerUrl
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment