Return the plugin info of the emulated simulator rather than emulated itself

This commit is contained in:
Roland Winklmeier
2018-01-17 11:48:50 +01:00
parent 656805c485
commit 7edcc02f15

View File

@@ -125,6 +125,7 @@ namespace BlackCore
if (m_simulatorPlugin.first.isUnspecified()) { return BlackMisc::Simulation::CSimulatorPluginInfo(); }
Q_ASSERT(m_simulatorPlugin.second);
if (m_simulatorPlugin.first.getSimulator() == "emulated") { return m_simulatorPlugin.second->getSimulatorPluginInfo(); }
return m_simulatorPlugin.first;
}