┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/search/searchpanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels/search/searchpanel.cpp')
-rw-r--r--src/panels/search/searchpanel.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/panels/search/searchpanel.cpp b/src/panels/search/searchpanel.cpp
index a78828e0d..fd4195f54 100644
--- a/src/panels/search/searchpanel.cpp
+++ b/src/panels/search/searchpanel.cpp
@@ -38,8 +38,9 @@
#include <search/dolphinsearchinformation.h>
#include <KFileItem>
-#include <KIO/JobClasses>
#include <KIO/Job>
+#include <KIO/JobClasses>
+#include <KIO/JobUiDelegate>
#include <KMenu>
#include <QPushButton>
@@ -101,6 +102,9 @@ bool SearchPanel::urlChanged()
// Reset the current query and disable the facet-widget until
// the new query has been determined by KIO::stat():
m_lastSetUrlStatJob = KIO::stat(url(), KIO::HideProgressInfo);
+ if (m_lastSetUrlStatJob->ui()) {
+ m_lastSetUrlStatJob->ui()->setWindow(this);
+ }
connect(m_lastSetUrlStatJob, SIGNAL(result(KJob*)),
this, SLOT(slotSetUrlStatFinished(KJob*)));
} else {