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

QApplication::paletteChanged is not emitted when palette changes

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      4afd9234c2f16536a360370a5b302f943bae727d (qt/qtbase/dev)

      Description

      As in summary.

      Example code:

       

      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QObject::connect(&a, &QApplication::paletteChanged, []{ qDebug() << "Not gonna happen :("; });
          a.setPalette(QPalette(Qt::red));
          return a.exec();
      }
      

      The signal is defined in QGuiApplication but QApplication doesn't seem to emit it.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              frederik Frederik Gladhorn
              Reporter:
              chrisaverage Krzysztof Kawa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes