diff options
| author | Peter Penz <[email protected]> | 2008-06-18 21:23:06 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-06-18 21:23:06 +0000 |
| commit | afe18732f27f5be8b8c101914b4560d2d5c1c981 (patch) | |
| tree | b3fbf68a94fe4b286b7253dae6d55ee2d5e4f21c /src/dolphinview.cpp | |
| parent | 4f3e1b0c24e8150cc940cadc754b4d703bbac26a (diff) | |
KFileItem::url() returns per value, not per reference
svn path=/trunk/KDE/kdebase/apps/; revision=822003
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 4 |
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); |
