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:
authorFlorian Geyer <blueice@fobos.de>2012-04-18 18:38:10 +0400
committerFelix Geyer <debfx@fobos.de>2012-04-18 19:03:58 +0400
commit34204f32815bc661c5f94b23e2a00f8e4eba8790 (patch)
treea36e687ca475eac44fe9a813b915ba7770eddf09 /tests/TestModified.cpp
parent89f138a86821e533a08eda37937fee411856a837 (diff)
Disconnect entry from database, when removed.
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r--tests/TestModified.cpp5
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++;