fix(notification): 修复通知中心与通知弹窗位置异常的bug
This commit is contained in:
parent
e680a511a1
commit
758835fca2
|
@ -175,7 +175,9 @@ void SidebarMain::initPopupWindow()
|
|||
|
||||
connect(m_notificationPC, &SidebarView::visibleChanged,
|
||||
m_popupPC, [=] (const bool isSidebarShow) {
|
||||
m_popupPC->updateWindowPosition(isSidebarShow, m_notificationPC->width());
|
||||
if (m_notificationPC->screen() == m_popupPC->screen()) {
|
||||
m_popupPC->updateWindowPosition(isSidebarShow, m_notificationPC->width());
|
||||
}
|
||||
});
|
||||
|
||||
m_popupPC->loadQML();
|
||||
|
|
Loading…
Reference in New Issue