调整应用打开时隐藏信号发送时机

This commit is contained in:
lixueman 2022-07-26 16:38:41 +08:00
parent 48c749e4c1
commit f63911c019
2 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ void KListView::onClicked(QModelIndex index)
if (var.isValid()) { if (var.isValid()) {
QString desktopfp = var.value<QString>(); QString desktopfp = var.value<QString>();
execApp(desktopfp);
Q_EMIT sendHideMainWindowSignal(); Q_EMIT sendHideMainWindowSignal();
execApp(desktopfp);
} }
} }

View File

@ -107,8 +107,8 @@ void ListView::onClicked(QModelIndex index)
if (var.value<QStringList>().at(1).toInt() == 0) { if (var.value<QStringList>().at(1).toInt() == 0) {
Q_EMIT sendAppClassificationBtnClicked(); Q_EMIT sendAppClassificationBtnClicked();
} else { } else {
execApp(desktopfp);
Q_EMIT sendHideMainWindowSignal(); Q_EMIT sendHideMainWindowSignal();
execApp(desktopfp);
} }
} }
} }