diff options
| author | Peter Penz <[email protected]> | 2010-11-12 12:34:51 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-11-12 12:34:51 +0000 |
| commit | 4422dfd5fade3f2d2a9b6e4f63865e3180510269 (patch) | |
| tree | 589d4e7a9b3a0bbe9bb47c3fbafe1586453e0f75 /src | |
| parent | e251393981810476f1efa48c45a503175771686d (diff) | |
Fix build-issue if no Nepomuk is available
svn path=/trunk/KDE/kdebase/apps/; revision=1196022
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 86e8c8b9b..3ee891f41 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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, |
