summaryrefslogtreecommitdiffstats
path: root/src/controls/qtmenu.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2013-02-21 13:49:48 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-21 14:30:36 +0100
commitcd5601c2fee422504404b8704f4f319126507c9b (patch)
treeb6a16f77e2d9e4cc0903e42c1df6e96a186201c4 /src/controls/qtmenu.cpp
parentb2480931f47902a5f6411546a778424959b41202 (diff)
ComboBox: Get rid of 'effectivePressed' binding loop
The binding loop looked like this, ButtonBehavior.effectivePressed = true BasicButton.pressed = true call Menu.showPopup() ButtonBehavior.containsMouse = false (mouse grabbed by popup) ButtonBehavior.effectivePressed = false We remove any dependency to ButtonBehaviour and BasicButton, thus also cleaning the ComboBox API to the bare minimum. Change-Id: I1cfedcfe63b2835a982a66928b840fe726e89931 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/qtmenu.cpp')
0 files changed, 0 insertions, 0 deletions