fix(settings-search):modify the interface of ukcc.
This commit is contained in:
parent
971e827a0b
commit
933c2fa881
|
@ -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)));
|
||||
|
|
Loading…
Reference in New Issue