mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Fix issue with msgdialog not passing event back properly.
This commit is contained in:
parent
321f50bf7b
commit
5ecc7d5360
1 changed files with 8 additions and 0 deletions
|
@ -85,6 +85,10 @@ private:
|
||||||
{
|
{
|
||||||
event->ignore();
|
event->ignore();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
QDialog::keyPressEvent(event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
void closeEvent(QCloseEvent* event)
|
void closeEvent(QCloseEvent* event)
|
||||||
{
|
{
|
||||||
|
@ -93,6 +97,10 @@ private:
|
||||||
{
|
{
|
||||||
event->ignore();
|
event->ignore();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
QDialog::closeEvent(event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue