From 933c2fa8812d5ef4eafd1a377834b01119d990f6 Mon Sep 17 00:00:00 2001 From: JunjieBai Date: Tue, 23 Jan 2024 11:06:04 +0800 Subject: [PATCH] fix(settings-search):modify the interface of ukcc. --- libsearch/settingsearch/settings-search-plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsearch/settingsearch/settings-search-plugin.cpp b/libsearch/settingsearch/settings-search-plugin.cpp index 79f9bb9..3de80dc 100644 --- a/libsearch/settingsearch/settings-search-plugin.cpp +++ b/libsearch/settingsearch/settings-search-plugin.cpp @@ -204,9 +204,9 @@ void SettingsMatch::run() SettingsMatch::SettingsMatch() { - m_interface = new QDBusInterface("org.ukui.ukcc.session", + m_interface = new QDBusInterface("org.ukui.ukcc.search", "/", - "org.ukui.ukcc.session.interface", QDBusConnection::sessionBus(), this); + "org.ukui.ukcc.search.interface", QDBusConnection::sessionBus(), this); if (m_interface->isValid()) { connect(m_interface, SIGNAL(searchItemsAdd(QVariantMap)), this, SLOT(addItem(QVariantMap))); connect(m_interface, SIGNAL(searchItemsDelete(QVariantMap)), this, SLOT(removeItem(QVariantMap)));