Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
b6de05dc
Commit
b6de05dc
authored
Aug 29, 2022
by
Laurent Montel
Browse files
Add info about how many time we found it
parent
01c76703
Pipeline
#224476
passed with stage
in 15 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kaddressbook/plugins/mergelib/searchduplicate/resultduplicatetreewidget.cpp
View file @
b6de05dc
...
...
@@ -74,7 +74,9 @@ void ResultDuplicateTreeWidget::setContacts(const QVector<Akonadi::Item::List> &
int
i
=
1
;
for
(
const
Akonadi
::
Item
::
List
&
lst
:
lstItem
)
{
auto
topLevelItem
=
new
ResultDuplicateTreeWidgetItem
(
this
);
topLevelItem
->
setText
(
0
,
i18n
(
"Duplicate contact
\"
%1
\"
"
,
ResultDuplicateTreeWidgetItem
::
displayName
(
lst
.
first
())));
topLevelItem
->
setText
(
0
,
i18n
(
"Duplicate contact
\"
%1
\"
(%2 times)"
,
ResultDuplicateTreeWidgetItem
::
displayName
(
lst
.
first
()),
QString
::
number
(
lst
.
count
())));
for
(
const
Akonadi
::
Item
&
item
:
lst
)
{
auto
childItem
=
new
ResultDuplicateTreeWidgetItem
;
topLevelItem
->
addChild
(
childItem
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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