aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2012-08-28 16:49:37 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-28 18:11:54 +0200
commitc18c209eebc4c2480bc75bfed70a46641bba936b (patch)
tree8b0b3f58cf25a3b7d317e65720dbea107c3323ad /src/qml/qml
parenta6277bb84d208279abb600f9eae801b3aacecc4c (diff)
Fix compiler warnings from MSVC2010
Change-Id: I44eb0113374c221a166609c4fd29b5dad05ecc94 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/qml/qml')
-rw-r--r--src/qml/qml/v4/qv4bindings.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/v4/qv4bindings.cpp b/src/qml/qml/v4/qv4bindings.cpp
index 68e9a1a643..2ad69de055 100644
--- a/src/qml/qml/v4/qv4bindings.cpp
+++ b/src/qml/qml/v4/qv4bindings.cpp
@@ -70,6 +70,11 @@
Q_DECLARE_METATYPE(QJSValue)
+#ifdef Q_CC_MSVC
+// MSVC2010 warns about 'unreferenced formal parameter', even if it's used in p->~T()
+# pragma warning( disable : 4100 )
+#endif
+
QT_BEGIN_NAMESPACE
using namespace QQmlJS;