Fix compiler warnings on recent clang
authorLars Knoll <lars.knoll@theqtcompany.com>
Fri, 7 Aug 2015 06:46:26 +0000 (08:46 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Tue, 25 Aug 2015 03:45:56 +0000 (03:45 +0000)
Add some Q_DECL_OVERRIDE and a cast

Change-Id: I834d16049805b5fc6e64a64d26cd6c92ac873163
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/quick/util/qquickglobal.cpp

index 391e0b73474ed3fd2e728798cea5ef0cf2576ea9..25dd09c01f1a29ada85b188a1e8e6d2f0e716b69 100644 (file)
@@ -374,7 +374,7 @@ public:
         return QMatrix4x4(matVals);
     }
 
-    const QMetaObject *getMetaObjectForMetaType(int type)
+    const QMetaObject *getMetaObjectForMetaType(int type) Q_DECL_OVERRIDE
     {
         switch (type) {
         case QMetaType::QColor: