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

QGraphicsItemPrivate::resolvePalette() error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 4.7.1
    • Widgets: GraphicsView
    • None
    • 9c4c0443389fd3dace13a04849c8c03481d6cbdb

    Description

      In the file qgraphicsitem_p.h:

      virtual void resolvePalette(uint inheritedMask)
      {
          for (int i = 0; i < children.size(); ++i)
              children.at(i)->d_ptr->resolveFont(inheritedMask);  // resolveFont
      }
      

      Should be:

      virtual void resolvePalette(uint inheritedMask)
      {
          for (int i = 0; i < children.size(); ++i)
              children.at(i)->d_ptr->resolvePalette(inheritedMask); // resolvePalette
      }
      

      Attachments

        1. main.cpp
          0.2 kB
        2. widget.cpp
          0.8 kB
        3. widget.h
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peppe Giuseppe D'Angelo
            netyrj netyrj
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes