修复自测问题(注销提示多用户登录)

This commit is contained in:
liudunfa 2024-06-18 17:30:29 +08:00
parent 0cd51733dc
commit 876c7f6967
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ void PowerListWidget::onListItemClicked(QListWidgetItem *item)
if (shutdownLockcheck.count() > 0) {
Q_EMIT showInhibitWarning(shutdownLockcheck, powerBtnList[i].m_inhibitType, false);
break;
} else if (m_modelLockDialog->getLoggedInUsersCount() > 1) {
} else if (m_modelLockDialog->getLoggedInUsersCount() > 1 && powerBtnList[i].setFuncName != "Logout") {
Q_EMIT mulUsersLogined(powerBtnList[i].m_inhibitType, false);
break;
}