diff options
| author | Roman Inflianskas <[email protected]> | 2018-03-08 12:21:13 +0300 |
|---|---|---|
| committer | Roman Inflianskas <[email protected]> | 2018-03-10 18:07:47 +0300 |
| commit | 0c9343d614872b88da59a7c1a18d19c8df83739f (patch) | |
| tree | 6df87f4bb1ba42fee504d68777316b710137af2d /src/kitemviews/kfileitemmodel.cpp | |
| parent | 8c1455f96f211e0c8bf6e2fb003df3d6f4f10f01 (diff) | |
Fix some compile warnings
Reviewers: markg, elvisangelaccio
Reviewed By: markg, elvisangelaccio
Subscribers: chehrlic, rkflx, 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 d4f356125..b6a001642 100644 --- a/src/kitemviews/kfileitemmodel.cpp +++ b/src/kitemviews/kfileitemmodel.cpp @@ -246,7 +246,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) { @@ -269,9 +268,6 @@ QMimeData* KFileItemModel::createMimeData(const KItemSet& indexes) const bool isLocal; mostLocalUrls << item.mostLocalUrl(isLocal); - if (!isLocal) { - canUseMostLocalUrls = false; - } } } |
