Commit fe4bb558 authored by Frank Reininghaus's avatar Frank Reininghaus

Correct value for autostart setting of Service-nepomukfileindexer, part2

After 530c743a, this fixes the other
places where the incorrect default value 'false' was used.

Thanks to Luc Menut for noticing this problem!

CCBUG: lmenut@free.fr
parent 608dd232
......@@ -92,7 +92,7 @@ DolphinSearchInformation::DolphinSearchInformation() :
#ifdef HAVE_NEPOMUK
if (Nepomuk2::ResourceManager::instance()->initialized()) {
KConfig config("nepomukserverrc");
m_indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", false);
m_indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", true);
}
#endif
}
......
......@@ -56,7 +56,7 @@ AdditionalInfoDialog::AdditionalInfoDialog(QWidget* parent,
nepomukRunning = (Nepomuk2::ResourceManager::instance()->initialized());
if (nepomukRunning) {
KConfig config("nepomukserverrc");
indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", false);
indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", true);
}
#endif
......
......@@ -851,7 +851,7 @@ void DolphinView::slotHeaderContextMenuRequested(const QPointF& pos)
nepomukRunning = (Nepomuk2::ResourceManager::instance()->initialized());
if (nepomukRunning) {
KConfig config("nepomukserverrc");
indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", false);
indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", true);
}
#endif
......
......@@ -240,7 +240,7 @@ QActionGroup* DolphinViewActionHandler::createFileItemRolesActionGroup(const QSt
nepomukRunning = (Nepomuk2::ResourceManager::instance()->initialized());
if (nepomukRunning) {
KConfig config("nepomukserverrc");
indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", false);
indexingEnabled = config.group("Service-nepomukfileindexer").readEntry("autostart", true);
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment