mirror of https://github.com/mgba-emu/mgba.git
Qt: Initialize some members in Display
This commit is contained in:
parent
016b64bf15
commit
3f2426ef4c
|
@ -46,6 +46,8 @@ Display* Display::create(QWidget* parent) {
|
|||
|
||||
Display::Display(QWidget* parent)
|
||||
: QWidget(parent)
|
||||
, m_lockAspectRatio(false)
|
||||
, m_filter(false)
|
||||
{
|
||||
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
|
||||
setMinimumSize(VIDEO_HORIZONTAL_PIXELS, VIDEO_VERTICAL_PIXELS);
|
||||
|
|
Loading…
Reference in New Issue