diff options
| author | Peter Penz <[email protected]> | 2007-11-30 19:19:38 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-11-30 19:19:38 +0000 |
| commit | d6488887ecf69d7f192b94de8dce34fae0b7eb76 (patch) | |
| tree | 84306cafd09d21dc4ace9a88bc46baeda2148403 /src/viewpropertiesdialog.cpp | |
| parent | 0e6e4bf39170d9e327d3448064bc64cdfe15bdd5 (diff) | |
Hide the "Sort by Rating" and "Sort by Tags" menu entries for KDE 4.0, as currently the performance is too slow. Nepomuk will support caching in future versions, so hopefully we can provide those entries again in KDE 4.1.
svn path=/trunk/KDE/kdebase/apps/; revision=743363
Diffstat (limited to 'src/viewpropertiesdialog.cpp')
| -rw-r--r-- | src/viewpropertiesdialog.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/viewpropertiesdialog.cpp b/src/viewpropertiesdialog.cpp index 05b4a4838..cd4490aad 100644 --- a/src/viewpropertiesdialog.cpp +++ b/src/viewpropertiesdialog.cpp @@ -110,10 +110,13 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : m_sorting->addItem(i18nc("@item:inlistbox Sort", "By Group")); m_sorting->addItem(i18nc("@item:inlistbox Sort", "By Type")); #ifdef HAVE_NEPOMUK - if (!Nepomuk::ResourceManager::instance()->init()) { - m_sorting->addItem(i18nc("@item:inlistbox Sort", "By Rating")); - m_sorting->addItem(i18nc("@item:inlistbox Sort", "By Tags")); - } + // TODO: Hided "sort by rating" and "sort by tags" as without caching the performance + // is too slow currently (Nepomuk will support caching in future releases). + // + // if (!Nepomuk::ResourceManager::instance()->init()) { + // m_sorting->addItem(i18nc("@item:inlistbox Sort", "By Rating")); + // m_sorting->addItem(i18nc("@item:inlistbox Sort", "By Tags")); + // } #endif QHBoxLayout* sortingLayout = new QHBoxLayout(); |
