┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kfileitemlistviewtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/kfileitemlistviewtest.cpp')
-rw-r--r--src/tests/kfileitemlistviewtest.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/kfileitemlistviewtest.cpp b/src/tests/kfileitemlistviewtest.cpp
index 9e1add8cf..5c40abba3 100644
--- a/src/tests/kfileitemlistviewtest.cpp
+++ b/src/tests/kfileitemlistviewtest.cpp
@@ -87,8 +87,10 @@ void KFileItemListViewTest::cleanup()
*/
void KFileItemListViewTest::testGroupedItemChanges()
{
- QSignalSpy itemsInsertedSpy(m_model, &KFileItemModel::itemsInserted);
- QSignalSpy itemsRemovedSpy(m_model, &KFileItemModel::itemsRemoved);
+ QSignalSpy itemsInsertedSpy(m_model, SIGNAL(itemsInserted(KItemRangeList)));
+ QVERIFY(itemsInsertedSpy.isValid());
+ QSignalSpy itemsRemovedSpy(m_model, SIGNAL(itemsRemoved(KItemRangeList)));
+ QVERIFY(itemsRemovedSpy.isValid());
m_model->setGroupedSorting(true);