From fcc615a497c644357357d4b46821a48b2f7ff314 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 27 Dec 2015 12:28:08 -0800 Subject: QML UI: try to remove two binding loops Let's face it. I have no idea what I'm doing here. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveList.qml | 1 + qt-mobile/qml/main.qml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-mobile/qml') diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml index abf60036f..116916cac 100644 --- a/qt-mobile/qml/DiveList.qml +++ b/qt-mobile/qml/DiveList.qml @@ -18,6 +18,7 @@ MobileComponents.Page { id: dive enabled: true checked: diveListView.currentIndex == model.index + width: parent.width property real detailsOpacity : 0 property int horizontalPadding: MobileComponents.Units.gridUnit / 2 - MobileComponents.Units.smallSpacing + 1 diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index e4bc08d67..8f8880229 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -116,7 +116,6 @@ MobileComponents.ApplicationWindow { text: checked ? "Disable verbose (for adb logcat)" : "Enable verbose (for adb logcat)" onToggled: { manager.verboseEnabled = checked; - checked = !checked; } } } -- cgit v1.2.3-70-g09d2