diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-27 12:28:08 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-27 12:28:08 -0800 |
commit | fcc615a497c644357357d4b46821a48b2f7ff314 (patch) | |
tree | f97c8818d95f536aece50783cc8ee0cc12edaf61 /qt-mobile | |
parent | 81999e4667a2bc50ceb0a33f5101d339770d1c87 (diff) | |
download | subsurface-fcc615a497c644357357d4b46821a48b2f7ff314.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/DiveList.qml | 1 | ||||
-rw-r--r-- | qt-mobile/qml/main.qml | 1 |
2 files changed, 1 insertions, 1 deletions
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; } } } |