aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v4/qv4bindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/v4/qv4bindings.cpp')
-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;