summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qstyleoption.h
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-07-14 16:35:09 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-07-14 16:35:09 (GMT)
commit4e2eb2945dbc3865e2901f12d663ed89e8f0dfbf (patch)
tree883c28b71502f0352e5111d166576c1f834063f3 /src/gui/styles/qstyleoption.h
parent21fbfdb2acdc368c047d14004373d2d0baa6c0b1 (diff)
downloadQt-4e2eb2945dbc3865e2901f12d663ed89e8f0dfbf.zip
Qt-4e2eb2945dbc3865e2901f12d663ed89e8f0dfbf.tar.gz
Qt-4e2eb2945dbc3865e2901f12d663ed89e8f0dfbf.tar.bz2
Compile with QT_NO_DEBUG_STREAM
Task-number: QTBUG-11510
Diffstat (limited to 'src/gui/styles/qstyleoption.h')
-rw-r--r--src/gui/styles/qstyleoption.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qstyleoption.h b/src/gui/styles/qstyleoption.h
index 95de8d5..005b36a 100644
--- a/src/gui/styles/qstyleoption.h
+++ b/src/gui/styles/qstyleoption.h
@@ -958,8 +958,10 @@ T qstyleoption_cast(QStyleHintReturn *hint)
return 0;
}
+#if !defined(QT_NO_DEBUG) && !defined(QT_NO_DEBUG_STREAM)
Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption::OptionType &optionType);
Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption &option);
+#endif
QT_END_NAMESPACE