summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2012-09-17 14:47:19 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2012-09-18 12:45:18 +0200
commite024877e7aef6d0724dc82db14ed613fe33f2943 (patch)
tree2c0b465196a484e49899f2fd075b9f418fa5e446 /tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
parent410ca98735a010ee1ef11590e5e6e098402f5a74 (diff)
downloadqt-creator-e024877e7aef6d0724dc82db14ed613fe33f2943.tar.gz
Tests: fix warnings
Change-Id: Ib26931ba6d951ad36ca93758d8f5bfeb22d42179 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp')
-rw-r--r--tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
index 703269de4a..abfcb1659e 100644
--- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
+++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
@@ -459,7 +459,7 @@ void tst_TestCore::testModelCreateRect()
QCOMPARE(childNode.propertyNames().count(), 4);
QCOMPARE(childNode.variantProperty("scale").value(), QVariant());
- } catch (Exception &exception) {
+ } catch (Exception &) {
QFAIL("Exception thrown");
}
@@ -3169,7 +3169,7 @@ void tst_TestCore::testRewriterExceptionHandling()
rootNode.variantProperty("bla") = QVariant("blah");
transaction.commit();
QFAIL("RewritingException should be thrown");
- } catch (RewritingException &e) {
+ } catch (RewritingException &) {
QVERIFY(rootNode.isValid());
QCOMPARE(rootNode.type(), QLatin1String("QtQuick.Text"));
QVERIFY(!rootNode.hasProperty("bla"));