Commit 9829d9b7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 357381 - Search Duplicate Contacts menu item open a wrong dialog

BUG: 357381
parent ea5c16e9
......@@ -57,7 +57,7 @@ void SearchDuplicatesPluginInterface::exec()
delete dlg;
void SearchDuplicatesPluginInterface::setCurrentItems(const Akonadi::Item::List &items)
void SearchDuplicatesPluginInterface::setItems(const Akonadi::Item::List &items)
Akonadi::Item::List onlyContactList;
Q_FOREACH (const Akonadi::Item &item, items) {
......@@ -71,5 +71,5 @@ void SearchDuplicatesPluginInterface::setCurrentItems(const Akonadi::Item::List
PimCommon::GenericPluginInterface::RequireTypes SearchDuplicatesPluginInterface::requires() const
return PimCommon::GenericPluginInterface::CurrentItems;
return PimCommon::GenericPluginInterface::Items;
......@@ -28,8 +28,8 @@ public:
void exec() Q_DECL_OVERRIDE;
void createAction(KActionCollection *ac) Q_DECL_OVERRIDE;
void setCurrentItems(const Akonadi::Item::List &items) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface::RequireTypes requires() const Q_DECL_OVERRIDE;
void setItems(const Akonadi::Item::List &items) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotActivated();
Supports Markdown
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