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

QColorDialog::DontUseNativeDialog is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.1.0
    • Labels:
      None
    • Environment:
      Mac OSX
    • Commits:
      qtbase/dev: 2f854e50908c342fddb17d6e72b7fb186f9c46de

      Description

      When QColorDialog::DontUseNativeDialog is set, the non-native dialog does not show up on platforms that actually provide a native color dialog implementation (currently Mac OSX only).

      #include <QApplication>
      #include <QColorDialog>
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          QColorDialog dialog;
          dialog.setOption(QColorDialog::DontUseNativeDialog);
          dialog.show();
          return app.exec();
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes