mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
Return the plugin info of the emulated simulator rather than emulated itself
This commit is contained in:
@@ -125,6 +125,7 @@ namespace BlackCore
|
|||||||
if (m_simulatorPlugin.first.isUnspecified()) { return BlackMisc::Simulation::CSimulatorPluginInfo(); }
|
if (m_simulatorPlugin.first.isUnspecified()) { return BlackMisc::Simulation::CSimulatorPluginInfo(); }
|
||||||
|
|
||||||
Q_ASSERT(m_simulatorPlugin.second);
|
Q_ASSERT(m_simulatorPlugin.second);
|
||||||
|
if (m_simulatorPlugin.first.getSimulator() == "emulated") { return m_simulatorPlugin.second->getSimulatorPluginInfo(); }
|
||||||
return m_simulatorPlugin.first;
|
return m_simulatorPlugin.first;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user