diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-11-15 01:23:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-11-15 01:23:52 (GMT) |
commit | 976f6e05d1220f6292633b28c174c0c96573f09a (patch) | |
tree | 38500170259e3541cb32d4f2a221b1bcbc586c6a /tests/auto/declarative | |
parent | 34a81201b04a065b948d4da3b2a08b65c45232db (diff) | |
download | Qt-976f6e05d1220f6292633b28c174c0c96573f09a.zip Qt-976f6e05d1220f6292633b28c174c0c96573f09a.tar.gz Qt-976f6e05d1220f6292633b28c174c0c96573f09a.tar.bz2 |
Remove unneeded semicolons.
Extra semicolons break building with sun studio.
Task-number: QTBUG-15326
Reviewed-by: Alan Alpert
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/testtypes.h | 2 | ||||
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/testtypes.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/testtypes.h b/tests/auto/declarative/qdeclarativeecmascript/testtypes.h index 40451c3..15c310f 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/testtypes.h +++ b/tests/auto/declarative/qdeclarativeecmascript/testtypes.h @@ -92,7 +92,7 @@ class MyQmlObject : public QObject Q_PROPERTY(QDeclarativeListProperty<QObject> objectListProperty READ objectListProperty CONSTANT) Q_PROPERTY(int resettableProperty READ resettableProperty WRITE setResettableProperty RESET resetProperty) Q_PROPERTY(QRegExp regExp READ regExp WRITE setRegExp) - Q_PROPERTY(int nonscriptable READ nonscriptable WRITE setNonscriptable SCRIPTABLE false); + Q_PROPERTY(int nonscriptable READ nonscriptable WRITE setNonscriptable SCRIPTABLE false) public: MyQmlObject(): myinvokableObject(0), m_methodCalled(false), m_methodIntCalled(false), m_object(0), m_value(0), m_resetProperty(13) {} diff --git a/tests/auto/declarative/qdeclarativelanguage/testtypes.h b/tests/auto/declarative/qdeclarativelanguage/testtypes.h index 2b23a49..f8d785c 100644 --- a/tests/auto/declarative/qdeclarativelanguage/testtypes.h +++ b/tests/auto/declarative/qdeclarativelanguage/testtypes.h @@ -112,7 +112,7 @@ class MyQmlObject : public QObject, public MyInterface Q_PROPERTY(MyCustomVariantType customType READ customType WRITE setCustomType) Q_PROPERTY(MyQmlObject *qmlobjectProperty READ qmlobject WRITE setQmlobject) Q_PROPERTY(int propertyWithNotify READ propertyWithNotify WRITE setPropertyWithNotify NOTIFY oddlyNamedNotifySignal) - Q_PROPERTY(int nonScriptable READ nonScriptable WRITE setNonScriptable SCRIPTABLE false); + Q_PROPERTY(int nonScriptable READ nonScriptable WRITE setNonScriptable SCRIPTABLE false) Q_INTERFACES(MyInterface) public: |