Commit e271e010 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Save respectDiacriticAndAccents

parent 40684369
Pipeline #150078 passed with stage
in 1 minute and 44 seconds
......@@ -51,9 +51,10 @@ AkonadiIndexingAgent::AkonadiIndexingAgent(const QString &id)
if (agentIndexingVersion < INDEXING_AGENT_VERSION) {
m_index.removeDatabase();
// Don't respect Diacritic and Accents in new Database so search will be more easy.
// TODO activate it in the future respectDiacriticAndAccents = false;
respectDiacriticAndAccents = false;
QTimer::singleShot(0, &m_scheduler, &Scheduler::scheduleCompleteSync);
cfg.writeEntry("agentIndexingVersion", INDEXING_AGENT_VERSION);
cfg.writeEntry("respectDiacriticAndAccents", respectDiacriticAndAccents);
cfg.sync();
}
m_index.setRespectDiacriticAndAccents(respectDiacriticAndAccents);
......
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