Qt: Fix render to main

The render widget was not hidden at the right moment.
This commit is contained in:
Léo Lam 2017-09-15 22:39:55 +02:00
parent f28839acf9
commit b05207325d
1 changed files with 1 additions and 2 deletions

View File

@ -353,7 +353,7 @@ void MainWindow::Pause()
void MainWindow::OnStopComplete()
{
m_stop_requested = false;
m_render_widget->hide();
HideRenderWidget();
if (m_exit_requested)
QGuiApplication::instance()->quit();
@ -425,7 +425,6 @@ bool MainWindow::RequestStop()
void MainWindow::ForceStop()
{
BootManager::Stop();
HideRenderWidget();
}
void MainWindow::Reset()