diff options
| author | Emmanuel Pescosta <[email protected]> | 2013-06-10 11:16:21 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2013-06-10 11:16:21 +0200 |
| commit | 7c4d91c465d3e7383e8d0f7583018118efef40ef (patch) | |
| tree | a2ccfd9467ce8a4a3410285abc2cb2f3e0031cc2 /src/views/dolphinview.h | |
| parent | ca6e6a342e6940b8651b98dec28d68c471335453 (diff) | |
Fix Bug 319119 - Dolphin doesn't notice when renaming failed
Change the data in the model before the real renaming is done by KonqOperations::rename(),
but when the rename operation fails, revert the data changes in the model.
BUG: 319119
REVIEW: 110922
Diffstat (limited to 'src/views/dolphinview.h')
| -rw-r--r-- | src/views/dolphinview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 5a70c5502..0cd6ff2f4 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -632,6 +632,8 @@ private slots: */ void slotDeleteFileFinished(KJob* job); + void slotRenamingFailed(const KUrl& oldUrl, const KUrl& newUrl); + /** * Invoked when the file item model has started the loading * of the directory specified by DolphinView::url(). |
