Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/qt3support/widgets/q3spinwidget.cpp

    r651 r769  
    341341    QStyleOptionSpinBox opt = getStyleOption(this);
    342342
    343     if (d->theButton & 1)
     343    if (d->theButton & 1)
    344344        opt.activeSubControls = QStyle::SC_SpinBoxDown;
    345     else if (d->theButton & 2)
     345        opt.state |= QStyle::State_Sunken;
     346    } else if (d->theButton & 2) {
    346347        opt.activeSubControls = QStyle::SC_SpinBoxUp;
    347     else
     348        opt.state |= QStyle::State_Sunken;
     349    } else
    348350        opt.activeSubControls = QStyle::SC_None;
    349351    opt.rect = style()->subControlRect(QStyle::CC_SpinBox, &opt, QStyle::SC_SpinBoxFrame, this);
Note: See TracChangeset for help on using the changeset viewer.