Commit ef074dad authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlProject: Fix crash for invalid Qt version

Regression introduced by dcd1876d.
parent 1c491bcd
......@@ -333,7 +333,8 @@ bool QmlProjectRunConfiguration::isValidVersion(Qt4ProjectManager::QtVersion *ve
Utils::Environment QmlProjectRunConfiguration::baseEnvironment() const
Utils::Environment env;
env = qtVersion()->qmlToolsEnvironment();
if (qtVersion())
env = qtVersion()->qmlToolsEnvironment();
return env;
Markdown is supported
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