diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-20 14:59:22 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:01:47 +0100 |
commit | 58a43332b3a86db3756e6ad18e31189969c85364 (patch) | |
tree | ab71067a374e6b88d5792a4a22ee58d32ffad74b /compilerplugins/clang/vclwidgets.cxx | |
parent | e0eecf8ad57aa207d1db7fc63d9ad8f8d54866e4 (diff) |
wrap more stuff in VclPtr
Change-Id: I2f0d8a4fe426d8ee1ac55a05ae8dd0b44f9aab2b
Diffstat (limited to 'compilerplugins/clang/vclwidgets.cxx')
-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")) |