From 07f31c208790eaff918d7f08f442840c088dbe78 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 12 Nov 2009 22:45:47 +0000 Subject: Show a progress information when doing a Nepomuk search. As "sideeffect" some KDE3 relicts for the progress bar code have been removed too... svn path=/trunk/KDE/kdebase/apps/; revision=1048225 --- src/dolphinmainwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index a83a95fc1..ee5994955 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1006,6 +1006,12 @@ void DolphinMainWindow::slotTestCanDecode(const QDragMoveEvent* event, bool& can void DolphinMainWindow::searchItems(const KUrl& url) { m_activeViewContainer->setUrl(url); + + // The Nepomuk IO-slave does not provide any progress information. Give + // an immediate hint to the user that a searching is done: + DolphinStatusBar* statusBar = m_activeViewContainer->statusBar(); + statusBar->setProgressText(i18nc("@info", "Searching...")); + statusBar->setProgress(-1); } void DolphinMainWindow::slotTabMoved(int from, int to) -- cgit v1.3