diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-05-13 14:47:39 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-05-15 09:11:13 +0200 |
commit | 70102765aaeaa926bd65f4e2a192268420b85459 (patch) | |
tree | 5bc13b46cc3bbe3ff48cb488feb950f7b7e47636 /sources/shiboken2/generator/shiboken2/shibokengenerator.cpp | |
parent | e9a9c439d10d6924298884d7d83b60ec41e79dd7 (diff) |
Revert "Revert "Fix deprecation warnings about Qt::SplitBehavior""
Fix warnings in 5.15.
This reverts commit 2ca788f85fbc9d58969533d13046bbe19f53fac8.
Change-Id: Iaee39e2035f5e4ebdc9b5360a68a5f024f8bde38
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/generator/shiboken2/shibokengenerator.cpp')
-rw-r--r-- | sources/shiboken2/generator/shiboken2/shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp b/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp index 766047345..47cca8173 100644 --- a/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp +++ b/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp @@ -97,7 +97,7 @@ static QString resolveScopePrefix(const QStringList &scopeList, const QString &v static inline QStringList splitClassScope(const AbstractMetaClass *scope) { - return scope->qualifiedCppName().split(QLatin1String("::"), QString::SkipEmptyParts); + return scope->qualifiedCppName().split(QLatin1String("::"), Qt::SkipEmptyParts); } static QString resolveScopePrefix(const AbstractMetaClass *scope, const QString &value) |