Qt: Clear display before closing window
Vicki Pfau vi@endrift.com
Tue, 02 Oct 2018 13:04:15 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -613,6 +613,7 @@ m_config->setOption("height", VIDEO_VERTICAL_PIXELS * m_savedScale);
m_config->setOption("width", VIDEO_HORIZONTAL_PIXELS * m_savedScale); } saveConfig(); + m_display.reset(); QMainWindow::closeEvent(event); }