mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Qt: only allow double leftclick in screenshot manager
This commit is contained in:
parent
69ef9c8a6a
commit
a4011376e0
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue