[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/dolphin/src
From:       Peter Penz <peter.penz19 () gmail ! com>
Date:       2010-11-12 12:34:51
Message-ID: 20101112123451.4A469AC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1196022 by ppenz:

Fix build-issue if no Nepomuk is available


 M  +4 -0      dolphinmainwindow.cpp  


--- trunk/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp #1196021:1196022
@@ -1217,6 +1217,7 @@
 
 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 @@
         }
         m_filterDockIsTemporaryVisible = false;
     }
+#else
+    Q_UNUSED(enabled);
+#endif
 }
 
 void DolphinMainWindow::openContextMenu(const KFileItem& item,
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic