mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: 修复自动化测试中应用tips标签无法获取的问题
性能优化时误删了这部分代码 Log: Influence: 自动化测试获取应用的tips信息 Bug: https://pms.uniontech.com/zentao/bug-view-110469.html Change-Id: I3416981aa674687571acd2da87f56f12ba77fc37
This commit is contained in:
parent
b56b3d3ee2
commit
9b140528be
@ -477,7 +477,8 @@ QWidget *AppItem::popupTips()
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
static TipsWidget appNameTips(topLevelWidget());
|
static TipsWidget appNameTips(topLevelWidget());
|
||||||
appNameTips.setVisible(false);
|
appNameTips.setAccessibleName("tip");
|
||||||
|
appNameTips.setObjectName(m_itemEntryInter->name());
|
||||||
|
|
||||||
if (!m_windowInfos.isEmpty()) {
|
if (!m_windowInfos.isEmpty()) {
|
||||||
const quint32 currentWindow = m_itemEntryInter->currentWindow();
|
const quint32 currentWindow = m_itemEntryInter->currentWindow();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user