From 68f0f1b404485ffc4f5127784eb4ff52919953ad Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 29 Mar 2017 17:33:32 +0200 Subject: [PATCH] complete url when using themed wizardUrlPostfix 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/wizard/owncloudwizardresultpage.cpp b/src/gui/wizard/owncloudwizardresultpage.cpp index bf9e146f37..4018fedbaf 100644 --- 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); }