Changeset 467 for trunk/src


Ignore:
Timestamp:
Jan 22, 2010, 6:21:43 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: QWidget: When setting the parent, take the parent's resolve masks to make sure attributes imposed by the user on the parent won't be overriden by the natural palette for this widget if it differs from QApplication::palette() [vendor bug].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qwidget.cpp

    r447 r467  
    92529252    if (!testAttribute(Qt::WA_StyleSheet)
    92539253        && (!parent || !parent->testAttribute(Qt::WA_StyleSheet))) {
     9254
     9255
     9256
     9257
     9258
     9259
     9260
     9261
     9262
     9263
    92549264        d->resolveFont();
    92559265        d->resolvePalette();
Note: See TracChangeset for help on using the changeset viewer.