all repos — mgba @ 3186482281ee67bd1bfc1f148a451733e33a95eb

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

3186482281ee67bd1bfc1f148a451733e33a95eb

parent

0e613d296a2f4065128d5b1db33c13bd4151e65e

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

jump to
M CHANGESCHANGES

@@ -2,6 +2,7 @@ 0.2.1: (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

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

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