aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/generator/shiboken2/overloaddata.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-05-22 13:56:55 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-05-22 13:58:54 +0200
commit6ba23a245449aaa9c1a7ab8e954d93f5f4366530 (patch)
tree55c5aa5610861743aceceafb86802f4c0251369d /sources/shiboken2/generator/shiboken2/overloaddata.cpp
parentd64ff5aff4af37f3a6e0098e499116baa22950ed (diff)
Fix deprecation warnings about deprecated container conversions
Fix warnings introduced by qtbase/92f984273262531f909ede17a324f546fe502b5c. Change-Id: Ic46e5c93f8dd1910742fbd0578602cca4461643b Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'sources/shiboken2/generator/shiboken2/overloaddata.cpp')
-rw-r--r--sources/shiboken2/generator/shiboken2/overloaddata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/generator/shiboken2/overloaddata.cpp b/sources/shiboken2/generator/shiboken2/overloaddata.cpp
index becd66879..bbcdd6d5f 100644
--- a/sources/shiboken2/generator/shiboken2/overloaddata.cpp
+++ b/sources/shiboken2/generator/shiboken2/overloaddata.cpp
@@ -576,7 +576,7 @@ QStringList OverloadData::returnTypes() const
else
retTypes << QLatin1String("void");
}
- return QStringList(retTypes.toList());
+ return retTypes.values();
}
bool OverloadData::hasNonVoidReturnType() const