projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f152d
)
complete url when using themed wizardUrlPostfix
author
Roeland Jago Douma
<roeland@famdouma.nl>
Wed, 29 Mar 2017 15:33:32 +0000
(17:33 +0200)
committer
Markus Goetz
<markus@woboq.com>
Wed, 29 Mar 2017 16:09:15 +0000
(18:09 +0200)
Before we would only open the part of the url that the users entered.
Now if the wizardUrlPostfix is used this is should be appended to that
when opening the browser on the result page.
src/gui/wizard/owncloudwizardresultpage.cpp
patch
|
blob
|
history
diff --git
a/src/gui/wizard/owncloudwizardresultpage.cpp
b/src/gui/wizard/owncloudwizardresultpage.cpp
index bf9e146f37fae3a937739c865655ad35c0915477..4018fedbaf67eca132e09d6b09529ce4e25e7e98 100644
(file)
--- a/
src/gui/wizard/owncloudwizardresultpage.cpp
+++ b/
src/gui/wizard/owncloudwizardresultpage.cpp
@@
-97,7
+97,8
@@
void OwncloudWizardResultPage::slotOpenLocal()
void OwncloudWizardResultPage::slotOpenServer()
{
- QUrl url = field("OCUrl").toUrl();
+ Theme* theme = Theme::instance();
+ QUrl url = QUrl(field("OCUrl").toString() + theme->wizardUrlPostfix());
qDebug() << Q_FUNC_INFO << url;
QDesktopServices::openUrl(url);
}