diff options
| author | Peter Penz <[email protected]> | 2009-11-12 22:45:47 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-11-12 22:45:47 +0000 |
| commit | 07f31c208790eaff918d7f08f442840c088dbe78 (patch) | |
| tree | 51f335f9b2d086a48e4b5bb318d4cfdd313da84f /src/dolphinmainwindow.cpp | |
| parent | 4f24794fc32cd94dfbd473fa8dbc4b504c20bcb3 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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) |
