summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2011-10-31 14:00:01 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-03 14:25:17 (GMT)
commite086eca55e87cf56ed679bfa2b51bd5c83899b30 (patch)
tree2eaaeb3771b1cde815137be0002ddfc94200ab3c /src/declarative
parentaff964df58e213986cc5c18e4c2e81948345aeeb (diff)
downloadQt-e086eca55e87cf56ed679bfa2b51bd5c83899b30.zip
Qt-e086eca55e87cf56ed679bfa2b51bd5c83899b30.tar.gz
Qt-e086eca55e87cf56ed679bfa2b51bd5c83899b30.tar.bz2
Fixed warning by MSVC about class/struct mismatch in MethodData.
MSVC reported the following warning when compiling declarative module: 'MethodData' : type name first seen using 'class' now seen using 'struct' Fixed by changing the forward declaration from class to struct. Task-number: QTBUG-22512 Change-Id: I066feea80115d1d968332933d78e0408cd92a70a Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/qml/qdeclarativeobjectscriptclass_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeobjectscriptclass_p.h b/src/declarative/qml/qdeclarativeobjectscriptclass_p.h
index 6910960..6fda4cf 100644
--- a/src/declarative/qml/qdeclarativeobjectscriptclass_p.h
+++ b/src/declarative/qml/qdeclarativeobjectscriptclass_p.h
@@ -65,7 +65,7 @@ class QDeclarativeEngine;
class QScriptContext;
class QScriptEngine;
class QDeclarativeContextData;
-class MethodData;
+struct MethodData;
class Q_AUTOTEST_EXPORT QDeclarativeObjectMethodScriptClass : public QScriptDeclarativeClass
{