Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Unmaintained
KDE Pim
Commits
993ecffe
Commit
993ecffe
authored
Jun 16, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add variable to enable/disable check indexing
parent
e8f57efc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
kmail/src/kmkernel.cpp
kmail/src/kmkernel.cpp
+3
-2
kmail/src/settings/kmail.kcfg.cmake
kmail/src/settings/kmail.kcfg.cmake
+3
-0
No files found.
kmail/src/kmkernel.cpp
View file @
993ecffe
...
...
@@ -1680,8 +1680,9 @@ void KMKernel::slotRunBackgroundTasks() // called regularly by timer
if
(
KMailSettings
::
self
()
->
autoExpiring
())
{
mFolderCollectionMonitor
->
expireAllFolders
(
false
/*scheduled, not immediate*/
,
entityTreeModel
());
}
mCheckIndexingManager
->
start
(
entityTreeModel
());
if
(
KMailSettings
::
self
()
->
checkCollectionsIndexing
())
{
mCheckIndexingManager
->
start
(
entityTreeModel
());
}
#ifdef DEBUG_SCHEDULER // for debugging, see jobscheduler.h
mBackgroundTasksTimer
->
start
(
60
*
1000
);
// check again in 1 minute
#else
...
...
kmail/src/settings/kmail.kcfg.cmake
View file @
993ecffe
...
...
@@ -127,6 +127,9 @@
<label>Ask for confirmation before moving all messages to trash</label>
<default>true</default>
</entry>
<entry name=
"CheckCollectionsIndexing"
type=
"Bool"
key=
"check-collections-indexing"
>
<default>true</default>
</entry>
<entry name=
"AutoExpiring"
type=
"Bool"
key=
"auto-expiring"
>
<label>Specifies whether the folders will expire in the
background
(
for internal use only
)
</label>
<default>true</default>
...
...
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