]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use correct value for autostart setting of Service-nepomukfileindexer
authorLuc Menut <lmenut@mageia.org>
Tue, 27 Nov 2012 16:32:00 +0000 (17:32 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Tue, 27 Nov 2012 16:32:00 +0000 (17:32 +0100)
Fixes the problem that the "Recently accessed" entries in the Places
Panel might not be shown when using the default setup.

BUG: 310770
FIXED-IN: 4.10 Beta 2
REVIEW: 107464

src/panels/places/placesitemmodel.cpp

index a37c17fd80a88cc6969b3f697c35de470129a004..1acbb57719c3a109f94e5aabec8b6b82d3319d3e 100644 (file)
@@ -90,7 +90,7 @@ PlacesItemModel::PlacesItemModel(QObject* parent) :
 #ifdef HAVE_NEPOMUK
     if (Nepomuk2::ResourceManager::instance()->initialized()) {
         KConfig config("nepomukserverrc");
 #ifdef HAVE_NEPOMUK
     if (Nepomuk2::ResourceManager::instance()->initialized()) {
         KConfig config("nepomukserverrc");
-        m_fileIndexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", false);
+        m_fileIndexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", true);
     }
 
 #endif
     }
 
 #endif