Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Search
Commits
e271e010
Commit
e271e010
authored
Mar 14, 2022
by
Laurent Montel
😁
Browse files
Save respectDiacriticAndAccents
parent
40684369
Pipeline
#150078
passed with stage
in 1 minute and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agent/agent.cpp
View file @
e271e010
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment