mirror of https://github.com/PCSX2/pcsx2.git
Qt: Use `DevicePixelRatioChange` to detect DPR changes
This commit is contained in:
parent
6ecaaee9e0
commit
8cb056bde3
|
@ -349,8 +349,7 @@ bool DisplayWidget::event(QEvent* event)
|
|||
return true;
|
||||
}
|
||||
|
||||
// According to https://bugreports.qt.io/browse/QTBUG-95925 the recommended practice for handling DPI change is responding to paint events
|
||||
case QEvent::Paint:
|
||||
case QEvent::DevicePixelRatioChange:
|
||||
case QEvent::Resize:
|
||||
{
|
||||
QWidget::event(event);
|
||||
|
|
Loading…
Reference in New Issue