Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2012-04-23 18:57:08 +0400
committerFelix Geyer <debfx@fobos.de>2012-04-23 18:57:08 +0400
commitbddc29101cf46175ac198a08b14baf697fc0ba69 (patch)
treea467fc32259e3170187eeae154e68da33816d3e0 /tests/TestModified.cpp
parent6340ed89934ac8878e456c0b346d4c5c8c8fde83 (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.cpp3
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);