Commit 5a9aa3c4 authored by Marco Martin's avatar Marco Martin

delaying the loading of the sliding panel seems to avoid some crashes

FIXME
parent 28f98ce3
......@@ -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
......
Markdown is supported
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