diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-07-17 11:29:27 (GMT) |
---|---|---|
committer | Norwegian Rock Cat <qt-info@nokia.com> | 2009-07-17 11:53:24 (GMT) |
commit | c0dfc3f7cedb889e8d68161080262e715165e771 (patch) | |
tree | 796156a54eb84b65f91b92d5f87de8ecc90b58a7 | |
parent | 05ae1e2cf1c1d95377b302a6b4599358107c63b1 (diff) | |
download | Qt-c0dfc3f7cedb889e8d68161080262e715165e771.zip Qt-c0dfc3f7cedb889e8d68161080262e715165e771.tar.gz Qt-c0dfc3f7cedb889e8d68161080262e715165e771.tar.bz2 |
Handle Jens' new variable.
In theory, the new "follow style" value will never
be hit, let's make that explicit in the code.
-rw-r--r-- | src/gui/styles/qmacstyle_mac.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm index 5d75392..b615918 100644 --- a/src/gui/styles/qmacstyle_mac.mm +++ b/src/gui/styles/qmacstyle_mac.mm @@ -3361,6 +3361,9 @@ void QMacStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPainter } proxy()->drawItemPixmap(p, pr, Qt::AlignCenter, pixmap); break; } + default: + Q_ASSERT(false); + break; } if (needText) { |