2 import QtQuick.Layouts 1.1
18 application: 'launcher'
22 application: 'musicplayer'
30 application: 'navigation'
34 property int currentIndex: -1 // TODO: to be moved to whereever right
40 model: applicationModel
41 delegate: ShortcutIcon {
42 Layout.fillWidth: true
43 Layout.fillHeight: true
45 active: model.index === root.currentIndex
47 root.currentIndex = active ? -1 : model.index
48 launcher.launch(model.application)