aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/abstractmetalang.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-12-01 13:04:57 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-12-02 11:43:18 +0000
commit90811af4ea1a58f30f99af9ff7ba61144f2f5733 (patch)
treeff2744f0fdab715dd01d94e8e5a716bc91fa27b2 /sources/shiboken2/ApiExtractor/abstractmetalang.cpp
parent111f11e4d88ed89f961c73b25d48123f28909213 (diff)
shiboken: Use information about virtual from the code model
Change-Id: I27411e810fc3b3ff9d3bb629b5ebc2c7fdaa59ef Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/abstractmetalang.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/abstractmetalang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp
index 20943696e..98f723ba6 100644
--- a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp
+++ b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp
@@ -1151,7 +1151,7 @@ bool AbstractMetaFunction::isInplaceOperator() const
bool AbstractMetaFunction::isVirtual() const
{
- return !isFinal() && !isSignal() && !isStatic() && !isFinalInCpp() && !isConstructor();
+ return attributes() & AbstractMetaAttributes::VirtualCppMethod;
}
QString AbstractMetaFunction::modifiedName() const