mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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
|
||||
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 {
|
||||
id: mainMouseArea
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
Loading…
Reference in a new issue