diff options
| author | Rafael Fernández López <[email protected]> | 2007-06-23 13:12:21 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-06-23 13:12:21 +0000 |
| commit | 66f4c8b3c82fc4dbe7dc6bc0b90005f009925973 (patch) | |
| tree | 5ba3694d791d66f3851626f9c7f087a8e4c3bd6f /src/dolphinmainwindow.cpp | |
| parent | 126c14b3ba6e165e94727b448bdaf1f0c48502f7 (diff) | |
Fix compile problems on systems that don't want nepomuk. eeek !
svn path=/trunk/KDE/kdebase/apps/; revision=679265
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -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 7fec6908d..bfde4da66 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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() |
