Commit 9f54148d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to update view

parent 04799464
Pipeline #159008 passed with stage
in 1 minute and 47 seconds
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
set(PIM_VERSION "5.20.40")
set(PIM_VERSION "5.20.41")
project(Akonadi-Contact VERSION ${PIM_VERSION})
......
......@@ -175,6 +175,11 @@ void ContactGroupViewer::setContactGroupFormatter(AbstractContactGroupFormatter
}
}
void ContactGroupViewer::updateView()
{
itemChanged(d->mCurrentItem);
}
void ContactGroupViewer::itemChanged(const Item &item)
{
if (!item.hasPayload<KContacts::ContactGroup>()) {
......
......@@ -74,6 +74,11 @@ public:
*/
void setContactGroupFormatter(AbstractContactGroupFormatter *formatter);
/**
* @since 5.20.41
*/
void updateView();
public Q_SLOTS:
/**
* Sets the contact @p group that shall be displayed in the viewer.
......
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