fix(settings-search):modify the interface of ukcc.

This commit is contained in:
JunjieBai 2024-01-23 11:06:04 +08:00 committed by iaom
parent 971e827a0b
commit 933c2fa881
1 changed files with 2 additions and 2 deletions

View File

@ -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)));