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
6ef472cb
Commit
6ef472cb
authored
Jun 16, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix debug
parent
afc35beb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
kmail/src/search/checkindexingjob.cpp
kmail/src/search/checkindexingjob.cpp
+3
-2
No files found.
kmail/src/search/checkindexingjob.cpp
View file @
6ef472cb
...
...
@@ -89,11 +89,12 @@ void CheckIndexingJob::indexerStatsFetchFinished(KJob* job)
}
QMap
<
qint64
,
qint64
>
stats
=
qobject_cast
<
PimCommon
::
CollectionIndexStatusJob
*>
(
job
)
->
resultStats
();
qDebug
()
<<
" stats "
<<
stats
;
//qDebug()<<" stats "<< stats;
qCDebug
(
KMAIL_LOG
)
<<
" mCollection.statistics().count() "
<<
mCollection
.
statistics
().
count
()
<<
"stats.value(mCollection.id())"
<<
stats
.
value
(
mCollection
.
id
());
if
(
mCollection
.
statistics
().
count
()
!=
stats
.
value
(
mCollection
.
id
()))
{
QDBusInterface
interfaceBalooIndexer
(
QStringLiteral
(
"org.freedesktop.Akonadi.Agent.akonadi_indexing_agent"
),
QStringLiteral
(
"/"
),
QStringLiteral
(
"org.freedesktop.Akonadi.Indexer"
));
if
(
interfaceBalooIndexer
.
isValid
())
{
qCDebug
(
KMAIL_LOG
)
<<
"Reindex collection :"
<<
mCollection
.
id
();
qCDebug
(
KMAIL_LOG
)
<<
"Reindex collection :"
<<
mCollection
.
id
()
<<
"name :"
<<
mCollection
.
name
()
;
interfaceBalooIndexer
.
call
(
QStringLiteral
(
"reindexCollection"
),
(
qlonglong
)
mCollection
.
id
());
}
}
...
...
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