Merge branch '0720-newfrontend' into 'new-frontend'
Update dbus interface. See merge request kylin-desktop/ukui-search!92
This commit is contained in:
commit
0e85727b3c
|
@ -16,7 +16,8 @@ UkuiSearchDbusServices::UkuiSearchDbusServices(MainWindow *m)
|
|||
m_mainWindow = m;
|
||||
//注册服务
|
||||
QDBusConnection sessionBus = QDBusConnection::sessionBus();
|
||||
if(!sessionBus.registerService("org.ukui.search.service")){
|
||||
QDBusConnection::sessionBus().unregisterService("com.ukui.search.service");
|
||||
if(!sessionBus.registerService("com.ukui.search.service")){
|
||||
qWarning() << "ukui-search dbus register service failed reason:" << sessionBus.lastError();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue