Changeset 73c66e1 in subsurface


Ignore:
Timestamp:
Apr 14, 2017, 9:50:57 AM (6 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
2011f88
Parents:
c8bf412
git-author:
Dirk Hohndel <dirk@…> (04/14/17 09:22:01)
git-committer:
Dirk Hohndel <dirk@…> (04/14/17 09:50:57)
Message:

QML UI: make run with Qt 5.7 again

onPressed needs to be relative to Keys in Qt 5.7.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/HintsTextEdit.qml

    r8a71196 r73c66e1  
    1414                textUpdateTimer.restart();
    1515        }
    16         onPressed: frame.shouldShow = !frame.shouldShow
     16        Keys.onPressed: frame.shouldShow = !frame.shouldShow
    1717        Keys.onUpPressed: {
    1818                hintsView.currentIndex--;
     
    8989                        clip: true
    9090                        onCurrentIndexChanged: root.text = model[currentIndex];
    91                        
     91
    9292                        delegate: Kirigami.BasicListItem {
    9393                                label: modelData
Note: See TracChangeset for help on using the changeset viewer.