┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.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/views/dolphinview.cpp
parent895a7c941bb25cacf88efe588d7c239dabe3993b (diff)
port away from deprecated KFileItem(mode_t mode, mode_t permissions, const QUrl &url, bool delayedMimeTypes = false);
Diffstat (limited to 'src/views/dolphinview.cpp')
-rw-r--r--src/views/dolphinview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index 00281af73..cb25c6555 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1698,7 +1698,8 @@ void DolphinView::updateWritableState()
if (item.isNull()) {
// Try to find out if the URL is writable even if the "root item" is
// null, see https://bugs.kde.org/show_bug.cgi?id=330001
- item = KFileItem(KFileItem::Unknown, KFileItem::Unknown, url(), true);
+ item = KFileItem(url());
+ item.setDelayedMimeTypes(true);
}
KFileItemListProperties capabilities(KFileItemList() << item);