summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstyle.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-07 09:30:16 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-11 11:05:15 +0200
commit90210c8d28a90295ebbf37ef45b69924ed7f42d0 (patch)
treea67feb9140d069197bbcaf53fe28d71e4be255cd /src/widgets/styles/qstyle.cpp
parent219e7bafa278792f7bde110d24333fb60b555c12 (diff)
Remove dead code from src/widgets
Code that's removed via QT_VERSION(6, 0, 0) check is already no longer compiled. Change-Id: I70865f330a6260ac2e9cf2770d599a5b6f7bb7d4 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/widgets/styles/qstyle.cpp')
-rw-r--r--src/widgets/styles/qstyle.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/widgets/styles/qstyle.cpp b/src/widgets/styles/qstyle.cpp
index e659ef5fcc..a4fe0365f9 100644
--- a/src/widgets/styles/qstyle.cpp
+++ b/src/widgets/styles/qstyle.cpp
@@ -2393,25 +2393,6 @@ int QStyle::combinedLayoutSpacing(QSizePolicy::ControlTypes controls1,
return result;
}
-// ### Qt 6: Remove in favor of template<class T> QDebug operator<<(QDebug, const QFlags<T> &).
-#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
-QT_BEGIN_INCLUDE_NAMESPACE
-# include <QDebug>
-QT_END_INCLUDE_NAMESPACE
-
-# if !defined(QT_NO_DEBUG_STREAM)
-QDebug operator<<(QDebug debug, QStyle::State state)
-{
-# if !defined(QT_NO_DEBUG)
- return operator<< <QStyle::StateFlag>(debug, state);
-# else
- Q_UNUSED(state);
- return debug;
-# endif
-}
-# endif // !QT_NO_DEBUG_STREAM
-#endif // QT_VERSION < QT_VERSION_CHECK(6,0,0)
-
/*!
\since 4.6