Commit b951e9a4 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[nextcloud] Embed login view into window

Instead of opening it in a separate window embed it into the existing one as one step of the wizard.
parent 82a5d4b4
/*
* Copyright 2019 (C) Rituka Patwal <ritukapatwal21@gmail.com>
* Copyright 2015 (C) Martin Klapetek <mklapetek@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.2
import QtQuick.Layouts 1.12
import QtQuick.Controls 2.5
import QtWebEngine 1.10
import org.kde.kirigami 2.5 as Kirigami
WebEngineView {
url: helper.loginUrl
profile: helper.webengineProfile
}
......@@ -34,7 +34,7 @@ Kirigami.ApplicationWindow {
case NextcloudController.ServerUrl:
return Qt.resolvedUrl("Server.qml");
case NextcloudController.WebLogin:
return ""
return Qt.resolvedUrl("WebLogin.qml")
case NextcloudController.Services:
return Qt.resolvedUrl("Services.qml")
}
......
Markdown is supported
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