Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37870

QMessageBox::addButton doesn't treat ButtonRole correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.2.0, 5.3.0 Beta1, 5.3.1
    • None
    • Archlinux + Qt 5.2

    Description

      In my attached project

      If the "ACCEPT" button is added first, both "ACCEPT" and "REJECT" buttons fire the opposite signals.

      Comment and uncomment lines in MyMsgBox.cpp

      If the "REJECT" button is added first, both buttons work correctly.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            xinkai Xinkai Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes