Frontend: This makes more sense structurally
This commit is contained in:
@@ -34,7 +34,6 @@ void KaizenQt::ConnectMainWindowSignalsToSlots() noexcept {
|
||||
connect(mainWindow.get(), &MainWindow::Exit, this, &KaizenQt::Quit);
|
||||
connect(mainWindow.get(), &MainWindow::Reset, emuThread.get(), &EmuThread::Reset);
|
||||
connect(mainWindow.get(), &MainWindow::Stop, emuThread.get(), &EmuThread::Stop);
|
||||
connect(mainWindow.get(), &MainWindow::Stop, this, [this] { mainWindow->setWindowTitle("Kaizen"); });
|
||||
connect(mainWindow.get(), &MainWindow::Pause, emuThread.get(), &EmuThread::TogglePause);
|
||||
}
|
||||
|
||||
|
||||
@@ -120,6 +120,7 @@ void MainWindow::ConnectSignalsToSlots() noexcept {
|
||||
connect(actionReset.get(), &QAction::triggered, this, [this]() { emit Reset(); });
|
||||
|
||||
connect(actionStop.get(), &QAction::triggered, this, [this]() {
|
||||
setWindowTitle("Kaizen");
|
||||
vulkanWidget->hide();
|
||||
actionPause->setDisabled(true);
|
||||
actionReset->setDisabled(true);
|
||||
|
||||
Reference in New Issue
Block a user