Commit dcc466c6 authored by Rinigus Saar's avatar Rinigus Saar Committed by Jonah Brüchert

restore desktop window and location on start

parent 05281027
...@@ -23,6 +23,7 @@ import QtQuick 2.1 ...@@ -23,6 +23,7 @@ import QtQuick 2.1
import QtWebEngine 1.6 import QtWebEngine 1.6
import QtQuick.Window 2.3 import QtQuick.Window 2.3
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import Qt.labs.settings 1.0
import org.kde.kirigami 2.7 as Kirigami import org.kde.kirigami 2.7 as Kirigami
import org.kde.mobile.angelfish 1.0 import org.kde.mobile.angelfish 1.0
...@@ -374,5 +375,12 @@ Kirigami.ApplicationWindow { ...@@ -374,5 +375,12 @@ Kirigami.ApplicationWindow {
} }
} }
Settings {
property alias x: webBrowser.x
property alias y: webBrowser.y
property alias width: webBrowser.width
property alias height: webBrowser.height
}
Component.onCompleted: rootPage.initialized = true Component.onCompleted: rootPage.initialized = true
} }
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