mirror of https://github.com/mgba-emu/mgba.git
Close LogView if the main window closes
This commit is contained in:
parent
78759dc12e
commit
51a6371eef
|
@ -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(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_display, SLOT(stopDrawing()));
|
||||||
connect(this, SIGNAL(shutdown()), m_controller, SLOT(closeGame()));
|
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(audioBufferSamplesChanged(int)), m_controller, SLOT(setAudioBufferSamples(int)));
|
||||||
connect(this, SIGNAL(fpsTargetChanged(float)), m_controller, SLOT(setFPSTarget(float)));
|
connect(this, SIGNAL(fpsTargetChanged(float)), m_controller, SLOT(setFPSTarget(float)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue