aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qwinjumplist/tst_qwinjumplist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qwinjumplist/tst_qwinjumplist.cpp b/tests/auto/qwinjumplist/tst_qwinjumplist.cpp
index 1d621c6..58dcfa1 100644
--- a/tests/auto/qwinjumplist/tst_qwinjumplist.cpp
+++ b/tests/auto/qwinjumplist/tst_qwinjumplist.cpp
@@ -198,6 +198,8 @@ void tst_QWinJumpList::testCategories()
QWinJumpList jumplist;
QVERIFY(jumplist.categories().isEmpty());
+ jumplist.addCategory(0);
+
QWinJumpListCategory *cat1 = new QWinJumpListCategory(QStringLiteral("tmp"));
QCOMPARE(cat1->title(), QStringLiteral("tmp"));
cat1->setTitle(QStringLiteral("cat1"));