mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +00:00
delaying the loading of the sliding panel seems to avoid some crashes
FIXME
This commit is contained in:
parent
28f98ce3ac
commit
5a9aa3c440
1 changed files with 11 additions and 2 deletions
|
|
@ -31,9 +31,18 @@ PlasmaCore.ColorScope {
|
||||||
height: 480
|
height: 480
|
||||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||||
|
|
||||||
TaskSwitcher {
|
|
||||||
id: taskSwitcher
|
property QtObject taskSwitcher: taskSwitcherLoader.item ? taskSwitcherLoader.item : null
|
||||||
|
Loader {
|
||||||
|
id: taskSwitcherLoader
|
||||||
}
|
}
|
||||||
|
//FIXME: why it crashes on startup if TaskSwitcher is loaded immediately?
|
||||||
|
Timer {
|
||||||
|
running: true
|
||||||
|
interval: 200
|
||||||
|
onTriggered: taskSwitcherLoader.source = Qt.resolvedUrl("TaskSwitcher.qml")
|
||||||
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: mainMouseArea
|
id: mainMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue