┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-11-13 17:22:35 +0000
committerPeter Penz <[email protected]>2008-11-13 17:22:35 +0000
commitc0fd7f2a19d82e91df1ec795aee7b335b442f0e8 (patch)
tree792cb872125f930c7d28c774bbe168b9d7198e6c /src/dolphinmainwindow.cpp
parenta49fe38e3eb59e8a5893bfe79f35a51c0acbb4eb (diff)
* show an error message instead of an information message when an invalid dragging is done
* show an error message if a folder is dropped on to itself svn path=/trunk/KDE/kdebase/apps/; revision=883836
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 3f0b215cc..d93ff83e4 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -115,8 +115,8 @@ DolphinMainWindow::DolphinMainWindow(int id) :
this, SLOT(showCommand(CommandType)));
connect(DolphinSettings::instance().placesModel(), SIGNAL(errorMessage(const QString&)),
this, SLOT(showErrorMessage(const QString&)));
- connect(&DragAndDropHelper::instance(), SIGNAL(informationMessage(const QString&)),
- this, SLOT(showInformationMessage(const QString&)));
+ connect(&DragAndDropHelper::instance(), SIGNAL(errorMessage(const QString&)),
+ this, SLOT(showErrorMessage(const QString&)));
}
DolphinMainWindow::~DolphinMainWindow()
@@ -450,14 +450,6 @@ void DolphinMainWindow::showErrorMessage(const QString& message)
}
}
-void DolphinMainWindow::showInformationMessage(const QString& message)
-{
- if (!message.isEmpty()) {
- DolphinStatusBar* statusBar = m_activeViewContainer->statusBar();
- statusBar->setMessage(message, DolphinStatusBar::Information);
- }
-}
-
void DolphinMainWindow::slotUndoAvailable(bool available)
{
QAction* undoAction = actionCollection()->action(KStandardAction::name(KStandardAction::Undo));