mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Simplify url string from textfield to avoid unwanted spaces.
This commit is contained in:
parent
7e1c58b602
commit
06b2e1f645
1 changed files with 1 additions and 2 deletions
|
@ -485,8 +485,7 @@ OwncloudWizard::OwncloudWizard(QWidget *parent)
|
|||
|
||||
QString OwncloudWizard::ocUrl() const
|
||||
{
|
||||
QString url = field("OCUrl").toString();
|
||||
|
||||
QString url = field("OCUrl").toString().simplified();
|
||||
if( field("secureConnect").toBool() ) {
|
||||
url.prepend(QLatin1String("https://"));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue