Skip to content
Snippets Groups Projects
Commit 38607c49 authored by ck's avatar ck
Browse files

Maemo: Display simulator information only for valid run configs.

Reviewed-by: kh1
parent 23ef4f9c
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,8 @@ void MaemoRunConfigurationWidget::deviceConfigurationChanged(const QString &name
void MaemoRunConfigurationWidget::setSimInfoVisible(const MaemoDeviceConfig &devConf)
{
const bool isSimulator = devConf.type == MaemoDeviceConfig::Simulator;
const bool isSimulator
= devConf.isValid() && devConf.type == MaemoDeviceConfig::Simulator;
m_simNameLabel->setVisible(isSimulator);
m_simValueLabel->setVisible(isSimulator);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment