fix(src/utils): 修复点击快捷入口的计算机,开始菜单不收回的bug

This commit is contained in:
youdiansaodongxi 2024-09-11 09:58:37 +08:00
parent 9b9480eb83
commit e7bbda07f0
1 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,12 @@ void AppManager::launchBinaryApp(const QString &app, const QString &args)
void AppManager::launchAppWithArguments(const QString &appid, const QStringList &args, const QString &applicationName)
{
if (appid.isEmpty()) {
return;
}
Q_EMIT request(UkuiMenuApplication::Hide);
QDBusMessage message = QDBusMessage::createMethodCall(KYLIN_APP_MANAGER_NAME,
KYLIN_APP_MANAGER_PATH,
KYLIN_APP_MANAGER_INTERFACE,