@@ -24,7 +24,7 @@ Rectangle {
25 property QtObject indicatorsModel: null
25 property QtObject indicatorsModel: null
26 property bool __contentActive: false
26 property bool __contentActive: false
27− property alias currentMenuIndex : menus.currentIndex
27+ readonly property int currentMenuIndex : menus.currentIndex
28 property color backgroundColor: "#221e1c" // FIXME not in palette yet
28 property color backgroundColor: "#221e1c" // FIXME not in palette yet
29 property int contentReleaseInterval: 20000
29 property int contentReleaseInterval: 20000
@@ -32,7 +32,11 @@ Rectangle {
32 height: units.gu(42)
32 height: units.gu(42)
33 color: backgroundColor
33 color: backgroundColor
35− signal menuSelected(int index)
35+ function setCurrentMenuIndex(index) {
36+ if (currentMenuIndex !== index) {
37+ menus.currentIndex = index;
37 function activateContent() {
41 function activateContent() {
38 contentReleaseTimer.stop();
42 contentReleaseTimer.stop();