fix(settings-search):modify the interface of ukcc.
This commit is contained in:
parent
fb8b0b6756
commit
b06c735fc5
|
@ -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