diff options
author | Felix Geyer <debfx@fobos.de> | 2012-04-23 18:57:08 +0400 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2012-04-23 18:57:08 +0400 |
commit | bddc29101cf46175ac198a08b14baf697fc0ba69 (patch) | |
tree | a467fc32259e3170187eeae154e68da33816d3e0 /tests/TestModified.cpp | |
parent | 6340ed89934ac8878e456c0b346d4c5c8c8fde83 (diff) |
Introduce Group::aboutToMove() and moved() signals.
Emit them instead of remove/add when groups are moved within
a database.
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r-- | tests/TestModified.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/TestModified.cpp b/tests/TestModified.cpp index 6e144f7c3..65bb832a1 100644 --- a/tests/TestModified.cpp +++ b/tests/TestModified.cpp @@ -52,6 +52,9 @@ void TestModified::testSignals() g2->setParent(root); QCOMPARE(spyModified.count(), ++spyCount); + g2->setParent(root, 0); + QCOMPARE(spyModified.count(), ++spyCount); + Entry* entry1 = new Entry(); entry1->setGroup(g1); QCOMPARE(spyModified.count(), ++spyCount); |