┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-01-20 15:03:14 +0000
committerPeter Penz <[email protected]>2007-01-20 15:03:14 +0000
commit07e07fd522cc278dffccc3b8b6faded0f6f5df20 (patch)
tree6a1188d08fd0d2fd4338bddafee0ff9ae41e0a22 /src/dolphinview.cpp
parenta376e4d43e7b621f6fe22ca010be25ec90e4ff61 (diff)
Removed helper class ProgressIndicator (not needed anymore because of the use of KonqUndoManager).
svn path=/trunk/playground/utils/dolphin/; revision=625608
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index bf92b34f4..470abe5b7 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -45,7 +45,6 @@
#include "dolphiniconsview.h"
#include "dolphincontextmenu.h"
#include "filterbar.h"
-#include "progressindicator.h"
#include "renamedialog.h"
#include "urlnavigator.h"
#include "viewproperties.h"
@@ -242,11 +241,6 @@ void DolphinView::renameSelectedItems()
assert(newName.contains('#'));
const int urlsCount = urls.count();
- ProgressIndicator* progressIndicator =
- new ProgressIndicator(mainWindow(),
- i18n("Renaming items..."),
- i18n("Renaming finished."),
- urlsCount);
// iterate through all selected items and rename them...
const int replaceIndex = newName.indexOf('#');
@@ -262,8 +256,6 @@ void DolphinView::renameSelectedItems()
const bool destExists = KIO::NetAccess::exists(dest, false, view);
if (destExists) {
- delete progressIndicator;
- progressIndicator = 0;
view->statusBar()->setMessage(i18n("Renaming failed (item '%1' already exists).",name),
DolphinStatusBar::Error);
break;
@@ -275,11 +267,7 @@ void DolphinView::renameSelectedItems()
//undoMan.addCommand(command);
}
}
-
- progressIndicator->execOperation();
}
- delete progressIndicator;
- progressIndicator = 0;
//undoMan.endMacro();
}