mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Or the other VM Manager files.
This commit is contained in:
@@ -34,8 +34,6 @@
|
||||
#include "qt_vmmanager_model.hpp"
|
||||
#include "qt_vmmanager_addmachine.hpp"
|
||||
|
||||
#include "qt_defs.hpp"
|
||||
|
||||
extern VMManagerMainWindow *vmm_main_window;
|
||||
|
||||
// https://stackoverflow.com/a/36460740
|
||||
@@ -517,7 +515,7 @@ VMManagerMain::currentSelectionChanged(const QModelIndex ¤t,
|
||||
if (!current.isValid())
|
||||
return;
|
||||
|
||||
disconnect(selected_sysconfig->process, &QProcess::CHECK_STATE_CHANGED, this, &VMManagerMain::vmStateChange);
|
||||
disconnect(selected_sysconfig->process, &QProcess::stateChanged, this, &VMManagerMain::vmStateChange);
|
||||
disconnect(selected_sysconfig, &VMManagerSystem::windowStatusChanged, this, &VMManagerMain::vmStateChange);
|
||||
disconnect(selected_sysconfig, &VMManagerSystem::clientProcessStatusChanged, this, &VMManagerMain::vmStateChange);
|
||||
|
||||
@@ -528,7 +526,7 @@ VMManagerMain::currentSelectionChanged(const QModelIndex ¤t,
|
||||
// Emit that the selection changed, include with the process state
|
||||
emit selectionOrStateChanged(selected_sysconfig);
|
||||
|
||||
connect(selected_sysconfig->process, &QProcess::CHECK_STATE_CHANGED, this, &VMManagerMain::vmStateChange);
|
||||
connect(selected_sysconfig->process, &QProcess::stateChanged, this, &VMManagerMain::vmStateChange);
|
||||
connect(selected_sysconfig, &VMManagerSystem::windowStatusChanged, this, &VMManagerMain::vmStateChange);
|
||||
connect(selected_sysconfig, &VMManagerSystem::clientProcessStatusChanged, this, &VMManagerMain::vmStateChange);
|
||||
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
// #include "qt_vmmanager_details_section.hpp"
|
||||
#include "qt_vmmanager_detailsection.hpp"
|
||||
|
||||
#include "qt_defs.hpp"
|
||||
|
||||
#ifdef Q_OS_WINDOWS
|
||||
# include <windows.h>
|
||||
#endif
|
||||
@@ -103,7 +101,7 @@ VMManagerSystem::VMManagerSystem(const QString &sysconfig_file)
|
||||
find86BoxBinary();
|
||||
platform = QApplication::platformName();
|
||||
process = new QProcess();
|
||||
connect(process, &QProcess::CHECK_STATE_CHANGED, this, &VMManagerSystem::processStatusChanged);
|
||||
connect(process, &QProcess::stateChanged, this, &VMManagerSystem::processStatusChanged);
|
||||
|
||||
// Server type for this instance (Standard should always be used instead of Legacy)
|
||||
socket_server_type = VMManagerServerSocket::ServerType::Standard;
|
||||
|
||||
Reference in New Issue
Block a user