diff options
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/vclwidgets.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/vclwidgets.cxx b/compilerplugins/clang/vclwidgets.cxx index 092770db5051..2c171d0a6e82 100644 --- a/compilerplugins/clang/vclwidgets.cxx +++ b/compilerplugins/clang/vclwidgets.cxx @@ -82,6 +82,8 @@ bool containsWindowSubclass(const Type* pType0); bool containsWindowSubclass(const QualType& qType) { if (startsWith(qType.getAsString(), "VclPtr")) return false; + if (startsWith(qType.getAsString(), "const VclPtr")) + return false; if (startsWith(qType.getAsString(), "class VclPtr")) return false; if (startsWith(qType.getAsString(), "const class VclPtr")) |