Qt: Fix render to main
The render widget was not hidden at the right moment.
This commit is contained in:
parent
f28839acf9
commit
b05207325d
|
@ -353,7 +353,7 @@ void MainWindow::Pause()
|
||||||
void MainWindow::OnStopComplete()
|
void MainWindow::OnStopComplete()
|
||||||
{
|
{
|
||||||
m_stop_requested = false;
|
m_stop_requested = false;
|
||||||
m_render_widget->hide();
|
HideRenderWidget();
|
||||||
|
|
||||||
if (m_exit_requested)
|
if (m_exit_requested)
|
||||||
QGuiApplication::instance()->quit();
|
QGuiApplication::instance()->quit();
|
||||||
|
@ -425,7 +425,6 @@ bool MainWindow::RequestStop()
|
||||||
void MainWindow::ForceStop()
|
void MainWindow::ForceStop()
|
||||||
{
|
{
|
||||||
BootManager::Stop();
|
BootManager::Stop();
|
||||||
HideRenderWidget();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::Reset()
|
void MainWindow::Reset()
|
||||||
|
|
Loading…
Reference in New Issue