Commit 82088a61 authored by Shashwat Jolly's avatar Shashwat Jolly
Browse files

Change fallback server URL to etebase default server URL

parent ebc39c53
Pipeline #38765 failed with stage
in 60 minutes and 3 seconds
......@@ -42,7 +42,7 @@ void SetupWizard::manualNext()
const QString username = field(QStringLiteral("credentialsUserName")).toString();
const QString password = field(QStringLiteral("credentialsPassword")).toString();
const QString advancedServerUrl = field(QStringLiteral("credentialsServerUrl")).toString();
const QString serverUrl = advancedServerUrl.isEmpty() ? QStringLiteral("") : advancedServerUrl;
const QString serverUrl = advancedServerUrl.isEmpty() ? QString::fromUtf8(etebase_get_default_server_url()) : advancedServerUrl;
auto job = new LoginJob(mClientState, serverUrl, username, password, this);
connect(job, &LoginJob::finished, this, [this](KJob *job) {
qCDebug(ETESYNC_LOG) << "Login finished";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment