diff options
author | Florian Geyer <blueice@fobos.de> | 2012-04-18 18:38:10 +0400 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2012-04-18 19:03:58 +0400 |
commit | 34204f32815bc661c5f94b23e2a00f8e4eba8790 (patch) | |
tree | a36e687ca475eac44fe9a813b915ba7770eddf09 /tests/TestModified.cpp | |
parent | 89f138a86821e533a08eda37937fee411856a837 (diff) |
Disconnect entry from database, when removed.
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r-- | tests/TestModified.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/TestModified.cpp b/tests/TestModified.cpp index fa196038c..5b116279a 100644 --- a/tests/TestModified.cpp +++ b/tests/TestModified.cpp @@ -88,6 +88,11 @@ void TestModified::testSignals() QCOMPARE(spyModified.count(), spyCount); QCOMPARE(spyModified2.count(), spyCount2); + entry2->setTitle("test2"); + spyCount2++; + QCOMPARE(spyModified.count(), spyCount); + QCOMPARE(spyModified2.count(), spyCount2); + Group* g3 = new Group(); g3->setParent(root); spyCount++; |