qt: Fix a typo connecting to resetVM signal on unix manager socket

This commit is contained in:
ts-korhonen
2022-03-06 18:00:23 +02:00
parent 1791ccdeb6
commit bc86fdd0b5

View File

@@ -243,7 +243,7 @@ int main(int argc, char* argv[]) {
{
QObject::connect(&socket, &UnixManagerSocket::showsettings, main_window, &MainWindow::showSettings);
QObject::connect(&socket, &UnixManagerSocket::pause, main_window, &MainWindow::togglePause);
QObject::connect(&socket, &UnixManagerSocket::reset, main_window, &MainWindow::hardReset);
QObject::connect(&socket, &UnixManagerSocket::resetVM, main_window, &MainWindow::hardReset);
QObject::connect(&socket, &UnixManagerSocket::request_shutdown, main_window, &MainWindow::close);
QObject::connect(&socket, &UnixManagerSocket::force_shutdown, [](){
do_stop();