Commit d21dd792 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

logout: Fix window not loading

Fixes teams/plasma-mobile/issues#149

It seems that importing mobileshell here causes it to not load? ksmserver doesn't give any useful error logs though...
parent d74c106e
Pipeline #181479 passed with stage
in 1 minute and 14 seconds
......@@ -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"
......
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