!25 fix bug #I7BJTX【wayland】【影音】播放画面点击右键无菜单弹出
Merge pull request !25 from xuxinrong01/openkylin/yangtze
This commit is contained in:
commit
7076dede84
|
@ -1,3 +1,12 @@
|
||||||
|
kylin-video (3.1.4.2k1-ok22.1) yangtze; urgency=medium
|
||||||
|
|
||||||
|
* BUG号:
|
||||||
|
#I7BJTX【wayland】【影音】播放画面点击右键无菜单弹出
|
||||||
|
* 需求号:无.
|
||||||
|
* 其他改动:无.
|
||||||
|
|
||||||
|
-- xuxinrong <xuxinrong@kylinos.cn> Mon, 20 Nov 2023 16:18:53 +0800
|
||||||
|
|
||||||
kylin-video (3.1.4.2k1-ok22) yangtze; urgency=medium
|
kylin-video (3.1.4.2k1-ok22) yangtze; urgency=medium
|
||||||
|
|
||||||
* BUG号:
|
* BUG号:
|
||||||
|
|
|
@ -1183,8 +1183,8 @@ void MainWindow::initGlobalSig()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
connect(g_user_signal, &GlobalUserSignal::sigRightMenuShow, [&](){
|
connect(g_user_signal, &GlobalUserSignal::sigRightMenuShow, [&](){
|
||||||
if (!m_is_active && isWayland)
|
// if (!m_is_active && isWayland)
|
||||||
return;
|
// return;
|
||||||
if (QGuiApplication::focusWindow())
|
if (QGuiApplication::focusWindow())
|
||||||
m_right_click_menu->exec(QCursor::pos(QGuiApplication::focusWindow()->screen()) + QPoint(1,1));
|
m_right_click_menu->exec(QCursor::pos(QGuiApplication::focusWindow()->screen()) + QPoint(1,1));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue