Commit cd5601c2 authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by The Qt Project
Browse files

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: default avatarJ-P Nurmi <jpnurmi@digia.com>
parent b2480931
Showing with 9 additions and 6 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment