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

If inherit QApplication, the MessageDialog accepted signal is emitted twice.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.15
    • Quick: Dialogs
    • None
    • Linux/X11

    Description

      There is difference between WidgetMessageDialog and DefaultMessageDialog.

      If inherit QApplication, it will use WidgetMessageDialog as MessageDialog QML type.

      If not inherit QApplication and use QGuiApplication instead of it, it will use DefaultMessageDialog as MessageDialog QML type.

      The accepted() signal will be emitted twice with WidgetMessageDialog  but once with DefaultMessageDialog .

      I think it is a bug with WidgetMessageDialog.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              kai.li Kai Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes