diff options
| author | Roman Inflianskas <[email protected]> | 2018-03-03 20:39:43 +0300 |
|---|---|---|
| committer | Roman Inflianskas <[email protected]> | 2018-03-04 10:27:31 +0300 |
| commit | 533f050855a50212bba7be57a1590f9ce743e26d (patch) | |
| tree | 9bcbfe8f2814393b39b91a35a28ce8e9c729fe2f /src/kitemviews/kfileitemmodel.cpp | |
| parent | 848abc5922167a467bb73107ee6b72e9af3c8317 (diff) | |
Fix some compile warnings
Reviewers: #dolphin, markg
Reviewed By: markg
Subscribers: elvisangelaccio, #dolphin
Differential Revision: https://phabricator.kde.org/D10995
Diffstat (limited to 'src/kitemviews/kfileitemmodel.cpp')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp index 70014e1a7..ae0ad30b6 100644 --- a/src/kitemviews/kfileitemmodel.cpp +++ b/src/kitemviews/kfileitemmodel.cpp @@ -248,7 +248,6 @@ QMimeData* KFileItemModel::createMimeData(const KItemSet& indexes) const // Copyright (C) 2006 David Faure <[email protected]> QList<QUrl> urls; QList<QUrl> mostLocalUrls; - bool canUseMostLocalUrls = true; const ItemData* lastAddedItem = nullptr; for (int index : indexes) { @@ -271,9 +270,6 @@ QMimeData* KFileItemModel::createMimeData(const KItemSet& indexes) const bool isLocal; mostLocalUrls << item.mostLocalUrl(isLocal); - if (!isLocal) { - canUseMostLocalUrls = false; - } } } |
