mirror of
https://github.com/86Box/86Box.git
synced 2026-03-02 02:38:24 -07:00
Fix a warning in the VFIO code and attempt to use checkStateChanged instead of stateChanged when compiling with Qt 6.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
// #include "qt_vmmanager_details_section.hpp"
|
||||
#include "qt_vmmanager_detailsection.hpp"
|
||||
|
||||
#include "qt_defs.hpp"
|
||||
|
||||
#ifdef Q_OS_WINDOWS
|
||||
# include <windows.h>
|
||||
#endif
|
||||
@@ -101,7 +103,7 @@ VMManagerSystem::VMManagerSystem(const QString &sysconfig_file)
|
||||
find86BoxBinary();
|
||||
platform = QApplication::platformName();
|
||||
process = new QProcess();
|
||||
connect(process, &QProcess::stateChanged, this, &VMManagerSystem::processStatusChanged);
|
||||
connect(process, &QProcess::CHECK_STATE_CHANGED, 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