aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/t-keylocate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/tests/t-keylocate.cpp')
-rw-r--r--lang/qt/tests/t-keylocate.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/qt/tests/t-keylocate.cpp b/lang/qt/tests/t-keylocate.cpp
index 682f722c..43aaf1c4 100644
--- a/lang/qt/tests/t-keylocate.cpp
+++ b/lang/qt/tests/t-keylocate.cpp
@@ -120,6 +120,11 @@ private Q_SLOTS:
const QString gpgHome = qgetenv("GNUPGHOME");
QVERIFY2(!gpgHome.isEmpty(), "GNUPGHOME environment variable is not set.");
}
+
+ void cleanupTestCase()
+ {
+ QCoreApplication::sendPostedEvents();
+ }
private:
QString mTestpattern;
};