diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/styles/qstyle.cpp --- a/src/gui/styles/qstyle.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/src/gui/styles/qstyle.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -2417,13 +2417,13 @@ return -1; } -#if !defined(QT_NO_DEBUG) && !defined(QT_NO_DEBUG_STREAM) QT_BEGIN_INCLUDE_NAMESPACE #include QT_END_INCLUDE_NAMESPACE QDebug operator<<(QDebug debug, QStyle::State state) { +#if !defined(QT_NO_DEBUG) && !defined(QT_NO_DEBUG_STREAM) debug << "QStyle::State("; QStringList states; @@ -2455,9 +2455,9 @@ qSort(states); debug << states.join(QLatin1String(" | ")); debug << ')'; +#endif return debug; } -#endif /*! \since 4.6