┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placespanel.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-12-20 08:56:32 +0100
committerPeter Penz <[email protected]>2011-12-20 08:58:24 +0100
commit090393599c80d29439a7e5f63e7bba471f52639d (patch)
treee957a8dc19073a489210bae0489c069f04e67f18 /src/panels/places/placespanel.cpp
parenta3c41997db62e9af2a89b23a61bc7dda75aa1e58 (diff)
Show an error when dragging above a folder without write access
Got OK from the translator team to add this new string.
Diffstat (limited to 'src/panels/places/placespanel.cpp')
-rw-r--r--src/panels/places/placespanel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp
index 902c436cf..6f522fad2 100644
--- a/src/panels/places/placespanel.cpp
+++ b/src/panels/places/placespanel.cpp
@@ -48,7 +48,8 @@ void PlacesPanel::mousePressEvent(QMouseEvent* event)
void PlacesPanel::slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent)
{
Q_UNUSED(parent);
- DragAndDropHelper::dropUrls(KFileItem(), dest, event);
+ const KFileItem destItem(KFileItem::Unknown, KFileItem::Unknown, dest);
+ DragAndDropHelper::dropUrls(destItem, event);
}
void PlacesPanel::emitExtendedUrlChangedSignal(const KUrl& url)