aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/parser/codemodel.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-03 08:34:15 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-03 08:49:05 +0000
commit9f0a954cf5a661da3ad6dde3b0ab3ecf32119e29 (patch)
tree5b6734fbfb9ef2d18878ba7bd8f0d22778aea592 /sources/shiboken2/ApiExtractor/parser/codemodel.cpp
parent347a32255a2e8e3c6d73b94b1cfe74fddbe09aad (diff)
Remove most QT_VERSION checks
As a drive by, adapt to changed values of QMetaObject::Call. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: Ic55a5da910c9ef022af3dedf749f80153f519ebf Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/parser/codemodel.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/parser/codemodel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/sources/shiboken2/ApiExtractor/parser/codemodel.cpp b/sources/shiboken2/ApiExtractor/parser/codemodel.cpp
index 5f6bcbaff..76ce333ed 100644
--- a/sources/shiboken2/ApiExtractor/parser/codemodel.cpp
+++ b/sources/shiboken2/ApiExtractor/parser/codemodel.cpp
@@ -494,11 +494,7 @@ void TypeInfo::formatDebug(QDebug &d) const
QDebug operator<<(QDebug d, const TypeInfo &t)
{
QDebugStateSaver s(d);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
const int verbosity = d.verbosity();
-#else
- const int verbosity = 0;
-#endif
d.noquote();
d.nospace();
d << "TypeInfo(";