Close LogView if the main window closes

This commit is contained in:
Jeffrey Pfau 2014-10-14 01:58:36 -07:00
parent 78759dc12e
commit 51a6371eef
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ Window::Window(QWidget* parent)
connect(this, SIGNAL(startDrawing(const uint32_t*, GBAThread*)), m_display, SLOT(startDrawing(const uint32_t*, GBAThread*)), Qt::QueuedConnection);
connect(this, SIGNAL(shutdown()), m_display, SLOT(stopDrawing()));
connect(this, SIGNAL(shutdown()), m_controller, SLOT(closeGame()));
connect(this, SIGNAL(shutdown()), m_logView, SLOT(hide()));
connect(this, SIGNAL(audioBufferSamplesChanged(int)), m_controller, SLOT(setAudioBufferSamples(int)));
connect(this, SIGNAL(fpsTargetChanged(float)), m_controller, SLOT(setFPSTarget(float)));