]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Make the "A folder cannot be dropped into itself" message less intrusive
authorFrank Reininghaus <frank78ac@googlemail.com>
Tue, 22 Jan 2013 06:13:34 +0000 (07:13 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Tue, 22 Jan 2013 06:17:35 +0000 (07:17 +0100)
Showing this message in the KMessageWidget above the view, which means
that the view contents are moved down, can be extremely annoying
according to user feedback. Just showing the message in the status bar
is probably enough.

BUG: 313466
REVIEW: 108483
FIXED-IN: 4.10.0

src/views/dolphinview.cpp

index f0fad1976e81122444ed912a2c9c5ecc19faee4d..502ffd428b5ee62d081c391cfdc3bafb7ae41abc 100644 (file)
@@ -1025,7 +1025,7 @@ void DolphinView::slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* even
 
     const QString error = DragAndDropHelper::dropUrls(destItem, destUrl, &dropEvent);
     if (!error.isEmpty()) {
-        emit errorMessage(error);
+        emit infoMessage(error);
     }
 
     if (destUrl == url()) {