mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +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.components 3.0 as PlasmaComponents3
|
||||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
|
@ -105,7 +104,6 @@ Item {
|
|||
id: mouseArea
|
||||
hoverEnabled: true
|
||||
onClicked: root.clicked()
|
||||
onPressed: MobileShell.Haptics.buttonVibrate();
|
||||
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.kcoreaddons 1.0 as KCoreAddons
|
||||
|
||||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
||||
import org.kde.plasma.private.sessions 2.0
|
||||
|
||||
PlasmaCore.ColorScope {
|
||||
|
|
@ -28,8 +27,6 @@ PlasmaCore.ColorScope {
|
|||
signal cancelRequested()
|
||||
signal lockScreenRequested()
|
||||
|
||||
Component.onCompleted: MobileShell.Haptics.buttonVibrate();
|
||||
|
||||
Controls.Action {
|
||||
onTriggered: root.cancelRequested()
|
||||
shortcut: "Escape"
|
||||
|
|
|
|||
Loading…
Reference in a new issue