┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 18ffe0a27..7ffcbced5 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -796,8 +796,8 @@ void DolphinView::dropUrls(const KUrl::List& urls,
const KFileItem& destItem)
{
Q_ASSERT(!urls.isEmpty());
- const KUrl& destination = !destItem.isNull() && destItem.isDir() ?
- destItem.url() : destPath;
+ const KUrl destination = !destItem.isNull() && destItem.isDir() ?
+ destItem.url() : destPath;
const KUrl sourceDir = KUrl(urls.first().directory());
if (sourceDir != destination) {
DolphinDropController dropController(this);