all repos — mgba @ e9365cdda22f3c41b5b0f208cc248439e8b80676

mGBA Game Boy Advance Emulator

Qt: Fix Display object leak when closing a window
Jeffrey Pfau jeffrey@endrift.com
Sat, 04 Apr 2015 14:14:28 -0700
commit

e9365cdda22f3c41b5b0f208cc248439e8b80676

parent

473b805a002ac7a8856c0c9f90ca29e0c250eddd

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -2,6 +2,7 @@ 0.3.0: (Future)

Bugfixes: - GBA: Fix timers not updating timing when writing to only the reload register - All: Fix sanitize-deb script not cleaning up after itself + - Qt: Fix Display object leak when closing a window 0.2.0: (2015-04-03) Features:
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -69,7 +69,7 @@ m_controller->setOverrides(m_config->overrides());

QGLFormat format(QGLFormat(QGL::Rgba | QGL::DoubleBuffer)); format.setSwapInterval(1); - m_display = new DisplayGL(format); + m_display = new DisplayGL(format, this); m_logo.setDevicePixelRatio(m_screenWidget->devicePixelRatio()); m_logo = m_logo; // Free memory left over in old pixmap