]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
Draw dragged items. Better conditions (more accurate to our behavior, hey ! we have...
[dolphin.git] / src / dolphinmainwindow.cpp
index 7fec6908d220112dd1b2c186807d2119c583462e..bfde4da66c922872c3c3f4c888261e9afc3da08f 100644 (file)
@@ -733,12 +733,16 @@ void DolphinMainWindow::sortByType()
 
 void DolphinMainWindow::sortByRating()
 {
+#ifdef HAVE_NEPOMUK
     m_activeViewContainer->view()->setSorting(DolphinView::SortByRating);
+#endif
 }
 
 void DolphinMainWindow::sortByTags()
 {
+#ifdef HAVE_NEPOMUK
     m_activeViewContainer->view()->setSorting(DolphinView::SortByTags);
+#endif
 }
 
 void DolphinMainWindow::toggleSortOrder()