X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/603ec47b8b1221c8fdf5ff2eaaae0a6a9fcc4880..2fcd3dd7887264b909ca2f8530f8b33ac76cf2be:/src/dolphinmainwindow.cpp diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 9324cdb21..3b5f493ca 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -824,6 +824,7 @@ void DolphinMainWindow::find() void DolphinMainWindow::slotSearchLocationChanged() { +#ifdef HAVE_NEPOMUK QDockWidget* searchDock = findChild("searchDock"); if (!searchDock) { return; @@ -835,6 +836,7 @@ void DolphinMainWindow::slotSearchLocationChanged() ? SearchPanel::FromCurrentDir : SearchPanel::Everywhere); } +#endif } void DolphinMainWindow::updatePasteAction() @@ -2277,6 +2279,8 @@ void ToolBarMenu::showEvent(QShowEvent* event) pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height(); } + pos += screen.topLeft(); + move(pos); }