mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
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.
This commit is contained in:
parent
96f152d57c
commit
68f0f1b404
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user