┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kfileitemmodeltest.cpp
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-12-14 17:46:58 +0100
committerEmmanuel Pescosta <[email protected]>2014-12-14 17:46:58 +0100
commita07d63d419469592b2600e668795cea2f9bee403 (patch)
treebc941b43bd1f0dfcc37b1ee2700be2bfe3f94683 /src/tests/kfileitemmodeltest.cpp
parent895a7c941bb25cacf88efe588d7c239dabe3993b (diff)
port away from deprecated KFileItem(mode_t mode, mode_t permissions, const QUrl &url, bool delayedMimeTypes = false);
Diffstat (limited to 'src/tests/kfileitemmodeltest.cpp')
-rw-r--r--src/tests/kfileitemmodeltest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/kfileitemmodeltest.cpp b/src/tests/kfileitemmodeltest.cpp
index d224e1a2e..fbe34e2a7 100644
--- a/src/tests/kfileitemmodeltest.cpp
+++ b/src/tests/kfileitemmodeltest.cpp
@@ -1448,7 +1448,7 @@ void KFileItemModelTest::testInconsistentModel()
// in the model yet). Otherwise, KFileItemModel::slotItemsAdded() will see that
// it receives items that are in the model already and ignore them.
QUrl url(m_model->directory().url() + "/a2");
- KFileItem newItem(KFileItem::Unknown, KFileItem::Unknown, url);
+ KFileItem newItem(url);
KFileItemList items;
items << newItem << m_model->fileItem(2) << m_model->fileItem(3);