mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 10:14:45 +00:00
logout: Fix window not loading
Fixes https://invent.kde.org/teams/plasma-mobile/issues/-/issues/149 It seems that importing mobileshell here causes it to not load? ksmserver doesn't give any useful error logs though...
This commit is contained in:
parent
d74c106ecf
commit
d21dd792d0
2 changed files with 0 additions and 5 deletions
|
|
@ -8,7 +8,6 @@ import QtQuick 2.8
|
||||||
|
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
import org.kde.plasma.components 3.0 as PlasmaComponents3
|
import org.kde.plasma.components 3.0 as PlasmaComponents3
|
||||||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
@ -105,7 +104,6 @@ Item {
|
||||||
id: mouseArea
|
id: mouseArea
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onClicked: root.clicked()
|
onClicked: root.clicked()
|
||||||
onPressed: MobileShell.Haptics.buttonVibrate();
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ import QtQuick.Controls 2.8 as Controls
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
import org.kde.kcoreaddons 1.0 as KCoreAddons
|
import org.kde.kcoreaddons 1.0 as KCoreAddons
|
||||||
|
|
||||||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
|
||||||
import org.kde.plasma.private.sessions 2.0
|
import org.kde.plasma.private.sessions 2.0
|
||||||
|
|
||||||
PlasmaCore.ColorScope {
|
PlasmaCore.ColorScope {
|
||||||
|
|
@ -28,8 +27,6 @@ PlasmaCore.ColorScope {
|
||||||
signal cancelRequested()
|
signal cancelRequested()
|
||||||
signal lockScreenRequested()
|
signal lockScreenRequested()
|
||||||
|
|
||||||
Component.onCompleted: MobileShell.Haptics.buttonVibrate();
|
|
||||||
|
|
||||||
Controls.Action {
|
Controls.Action {
|
||||||
onTriggered: root.cancelRequested()
|
onTriggered: root.cancelRequested()
|
||||||
shortcut: "Escape"
|
shortcut: "Escape"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue