Commit 010db470 authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix crash for unconfigured setttings and no qt version



Change-Id: I1f4ff490d57053ce33853214e46a1beb444cbaa3
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent d6e11fb9
......@@ -631,7 +631,8 @@ void Qt4Project::updateQmlJSCodeModel()
}
} else {
qtVersion = qt4ProjectManager()->unconfiguredSettings().version;
preferDebugDump = qtVersion->defaultBuildConfig() & QtSupport::BaseQtVersion::DebugBuild;
if (qtVersion)
preferDebugDump = qtVersion->defaultBuildConfig() & QtSupport::BaseQtVersion::DebugBuild;
}
if (qtVersion) {
if (qtVersion && qtVersion->isValid()) {
......
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