void DolphinMainWindow::slotSearchLocationChanged()
{
+#ifdef HAVE_NEPOMUK
QDockWidget* searchDock = findChild<QDockWidget*>("searchDock");
if (!searchDock) {
return;
? SearchPanel::FromCurrentDir
: SearchPanel::Everywhere);
}
+#endif
}
void DolphinMainWindow::updatePasteAction()
connect(terminalPanel, SIGNAL(hideTerminalPanel()), terminalDock, SLOT(hide()));
connect(terminalDock, SIGNAL(visibilityChanged(bool)),
- terminalPanel, SLOT(visibilityChanged(bool)));
+ terminalPanel, SLOT(dockVisibilityChanged()));
QAction* terminalAction = terminalDock->toggleViewAction();
terminalAction->setShortcut(Qt::Key_F4);
pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height();
}
+ pos += screen.topLeft();
+
move(pos);
}