┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-01-30 19:38:44 +0000
committerPeter Penz <[email protected]>2007-01-30 19:38:44 +0000
commit7495dabc15d5a3a2c7a1e81657227f936a59144f (patch)
tree7de2e26f7c8a155fb7c88fc64c2be44531b9e201 /src/dolphinview.cpp
parente1816544942d72f5228555adcd13a4ada0a712ed (diff)
Improvements for error messages:
- increase/decrease size on demand and hide progress bar or space information if required - provide close button TODO: the code is far from being finished (e. g. no queueing of pending error messages, close button looks fugly, ...), but I decided to commit the changes to prevent getting an inconsistent state in combination with other commits... svn path=/trunk/playground/utils/dolphin/; revision=628642
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 90383348d..93cda320b 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -604,6 +604,8 @@ void DolphinView::loadDirectory(const KUrl& url)
startDirLister(url);
emit urlChanged(url);
+
+ m_statusBar->clear();
}
void DolphinView::triggerItem(const QModelIndex& index)
@@ -870,7 +872,7 @@ void DolphinView::createView()
// delete current view
QAbstractItemView* view = itemView();
if (view != 0) {
- m_topLayout->remove(view);
+ m_topLayout->removeWidget(view);
view->close();
view->deleteLater();
m_iconsView = 0;