diff options
| author | Frank Reininghaus <[email protected]> | 2013-12-06 00:56:34 +0100 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2013-12-06 00:56:34 +0100 |
| commit | f3537f5b5fb0fd107a2e299aaeca3524cf1dd792 (patch) | |
| tree | b5f14bb7a2415b800595aec952abdd142df7b9af /src/views/dolphinview.cpp | |
| parent | 03f8c373c51e03c076290550d8011b558e757406 (diff) | |
| parent | c4c999d2431285a8c49f43130773ae562dc06b8b (diff) | |
Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12
Diffstat (limited to 'src/views/dolphinview.cpp')
| -rw-r--r-- | src/views/dolphinview.cpp | 4 |
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))); } } |
