mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Fix build-issue if no Nepomuk is available
svn path=/trunk/KDE/kdebase/apps/; revision=1196022
This commit is contained in:
parent
e251393981
commit
4422dfd5fa
|
@ -1217,6 +1217,7 @@ void DolphinMainWindow::slotWriteStateChanged(bool isFolderWritable)
|
|||
|
||||
void DolphinMainWindow::slotSearchModeChanged(bool enabled)
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
if (Nepomuk::ResourceManager::instance()->init() != 0) {
|
||||
// Currently the Filter Panel only works with Nepomuk enabled
|
||||
return;
|
||||
|
@ -1238,6 +1239,9 @@ void DolphinMainWindow::slotSearchModeChanged(bool enabled)
|
|||
}
|
||||
m_filterDockIsTemporaryVisible = false;
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(enabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
void DolphinMainWindow::openContextMenu(const KFileItem& item,
|
||||
|
|
Loading…
Reference in a new issue