┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-12-06 00:56:34 +0100
committerFrank Reininghaus <[email protected]>2013-12-06 00:56:34 +0100
commitf3537f5b5fb0fd107a2e299aaeca3524cf1dd792 (patch)
treeb5f14bb7a2415b800595aec952abdd142df7b9af
parent03f8c373c51e03c076290550d8011b558e757406 (diff)
parentc4c999d2431285a8c49f43130773ae562dc06b8b (diff)
Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12
-rw-r--r--src/views/dolphinview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index d0a85b3e2..1416bb6df 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1486,7 +1486,9 @@ void DolphinView::slotRoleEditingFinished(int index, const QByteArray& role, con
}
KonqOperations* op = KonqOperations::renameV2(this, oldUrl, newName);
- if (op) {
+ if (op && !newNameExistsAlready) {
+ // Only connect the renamingFailed signal if there is no item with the new name
+ // in the model yet, see bug 328262.
connect(op, SIGNAL(renamingFailed(KUrl,KUrl)), SLOT(slotRenamingFailed(KUrl,KUrl)));
}
}