mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Qt: only allow double leftclick in screenshot manager
This commit is contained in:
parent
69ef9c8a6a
commit
a4011376e0
@ -127,7 +127,7 @@ void screenshot_manager_dialog::showEvent(QShowEvent* event)
|
|||||||
|
|
||||||
bool screenshot_manager_dialog::eventFilter(QObject* watched, QEvent* event)
|
bool screenshot_manager_dialog::eventFilter(QObject* watched, QEvent* event)
|
||||||
{
|
{
|
||||||
if (event && event->type() == QEvent::MouseButtonDblClick)
|
if (event && event->type() == QEvent::MouseButtonDblClick && static_cast<QMouseEvent*>(event)->button() == Qt::LeftButton)
|
||||||
{
|
{
|
||||||
if (screenshot_item* item = static_cast<screenshot_item*>(watched))
|
if (screenshot_item* item = static_cast<screenshot_item*>(watched))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user