Commit ecc25ff2 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Do not trigger qWarning in MaemoRunConfiguration

  ... when simulatorPath is unset.
parent 70b3f0e2
......@@ -479,7 +479,7 @@ void MaemoRunConfiguration::updateSimulatorInformation() const
}
QDir dir(m_simulatorPath);
if (dir.exists(m_simulatorPath)) {
if (!m_simulatorPath.isEmpty() && dir.exists(m_simulatorPath)) {
const QStringList &files = dir.entryList(QDir::Files | QDir::NoSymLinks
| QDir::NoDotAndDotDot);
if (files.count() >= 2) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment