Change-Id: I44eb0113374c221a166609c4fd29b5dad05ecc94
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
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;
events for an item. The event information is provided by the
\a event parameter.
*/
-void QQuickItem::focusInEvent(QFocusEvent *event)
+void QQuickItem::focusInEvent(QFocusEvent * /*event*/)
{
#ifndef QT_NO_ACCESSIBILITY
QAccessibleEvent ev(this, QAccessible::Focus);
events for an item. The event information is provided by the
\a event parameter.
*/
-void QQuickItem::focusOutEvent(QFocusEvent *event)
+void QQuickItem::focusOutEvent(QFocusEvent * /*event*/)
{
}
#include <QtGui/qdesktopservices.h>
#include <QtGui/qfontdatabase.h>
+#ifdef Q_CC_MSVC
+// MSVC2010 warns about 'unused variable t', even if it's used in t->~T()
+# pragma warning( disable : 4189 )
+#endif
QT_BEGIN_NAMESPACE