diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-28 16:40:28 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 69f8fc3c5b78eff762e469ae8d0ff9d62f5114ba (patch) | |
tree | 6513aeec4e11887bf1b89a9f2b03540cd8677ad1 /mobile-widgets/qml/MapWidgetContextMenu.qml | |
parent | 591c4bfccab8ab0c972ea8c574df82579b865374 (diff) | |
download | subsurface-69f8fc3c5b78eff762e469ae8d0ff9d62f5114ba.tar.gz |
map: whitespace cleanup in QML and C++ files
- remove ";"s
- remove {} where not needed or move them to the same line
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/MapWidgetContextMenu.qml')
-rw-r--r-- | mobile-widgets/qml/MapWidgetContextMenu.qml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/mobile-widgets/qml/MapWidgetContextMenu.qml b/mobile-widgets/qml/MapWidgetContextMenu.qml index ca7da4057..50432569c 100644 --- a/mobile-widgets/qml/MapWidgetContextMenu.qml +++ b/mobile-widgets/qml/MapWidgetContextMenu.qml @@ -33,12 +33,8 @@ Item { SequentialAnimation { id:contextMenuImageAnimation - PropertyAnimation { - target: contextMenuImage; property: "scale"; from: 1.0; to: 0.8; duration: 80; - } - PropertyAnimation { - target: contextMenuImage; property: "scale"; from: 0.8; to: 1.0; duration: 60; - } + PropertyAnimation { target: contextMenuImage; property: "scale"; from: 1.0; to: 0.8; duration: 80 } + PropertyAnimation { target: contextMenuImage; property: "scale"; from: 0.8; to: 1.0; duration: 60 } } MouseArea { @@ -121,8 +117,6 @@ Item { State { when: listViewIsVisible === 1; PropertyChanges { target: listView; opacity: 1.0 }}, State { when: listViewIsVisible === 0; PropertyChanges { target: listView; opacity: 0.0 }} ] - transitions: Transition { - NumberAnimation { properties: "opacity"; easing.type: Easing.InOutQuad } - } + transitions: Transition { NumberAnimation { properties: "opacity"; easing.type: Easing.InOutQuad }} } } |