mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
fix: Annotations from GitHub build resolved
This commit is contained in:
@@ -707,7 +707,6 @@ namespace swift::misc::simulation::settings
|
||||
// msfs2024 uses no model directories but uses the field "packages directory" for filtering modelstrings
|
||||
// Asterix stands for everything == no filtering
|
||||
static const QString msfs2024 = "*";
|
||||
if (msfs2024.isEmpty()) { return e; }
|
||||
static const QStringList md { msfs2024 };
|
||||
return md;
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ using PfnSimConnect_AICreateSimulatedObject_EX1 = HRESULT(__stdcall *)(HANDLE, c
|
||||
|
||||
//! The SimConnect Symbols
|
||||
//! \private
|
||||
struct SimConnectSymbols
|
||||
struct SimConnectSymbolsMsfs2024
|
||||
{
|
||||
PfnSimConnect_Open SimConnect_Open = nullptr;
|
||||
PfnSimConnect_Close SimConnect_Close = nullptr;
|
||||
@@ -169,7 +169,7 @@ struct SimConnectSymbols
|
||||
#endif
|
||||
};
|
||||
|
||||
static SimConnectSymbols gSymbols;
|
||||
static SimConnectSymbolsMsfs2024 gSymbols;
|
||||
|
||||
template <typename FuncPtr>
|
||||
bool resolveSimConnectSymbol(QLibrary &library, FuncPtr &funcPtr, const char *funcName)
|
||||
|
||||
@@ -513,17 +513,15 @@ namespace swift::simplugin::msfs2024common
|
||||
bool incremnental = true;
|
||||
bool sortByDistributor = true;
|
||||
bool consolidateWithDb = false;
|
||||
bool ShowAllInstalledModells = true;
|
||||
bool ShowAllInstalledModells = true; // msfs20424 always show all installed models
|
||||
|
||||
if (gui_application)
|
||||
{
|
||||
givenDistributorsOnly = m_generic.getPropertyDistributorFiltered();
|
||||
dbDataOnly = m_generic.getPropertyWithDbEntry();
|
||||
dbIcaoOnly = false;
|
||||
incremnental = false;
|
||||
sortByDistributor = true;
|
||||
consolidateWithDb = true;
|
||||
ShowAllInstalledModells = true; // msfs20424 always show all installed models
|
||||
ShowAllInstalledModells = true;
|
||||
}
|
||||
|
||||
// CDistributorList distributorList;
|
||||
|
||||
@@ -221,8 +221,6 @@ namespace swift::simplugin::msfs2024common
|
||||
const DWORD requestId = event->dwRequestID;
|
||||
const DWORD objectId = event->dwObjectID;
|
||||
|
||||
const QString Test = CSimulatorMsfs2024::requestIdToString(requestId);
|
||||
|
||||
simulatorMsfs2024->m_dispatchRequestIdLast = requestId;
|
||||
|
||||
if (CSimulatorMsfs2024::isRequestForSimConnectObject(requestId))
|
||||
|
||||
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
CSwiftData w;
|
||||
w.show();
|
||||
int r = a.exec();
|
||||
r = a.exec();
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ CStatusMessageList CSwiftDataApplication::startHookIn()
|
||||
bool CSwiftDataApplication::parsingHookIn()
|
||||
{
|
||||
// Parse core relevant arguments
|
||||
const QString dBusAddress(this->getCmdDBusAddressValue());
|
||||
// const QString dBusAddress(this->getCmdDBusAddressValue());
|
||||
// if (!dBusAddress.isEmpty())
|
||||
//{
|
||||
// // check if reachable
|
||||
|
||||
Reference in New Issue
Block a user