Commit 260b2c9d authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix crash in cmake plugin

Change-Id: I90fa6386e98c7b089c5b1192f3657629a1da2112
Reviewed-by: default avatarDaniel Teske <>
parent bfb0dfaf
......@@ -409,6 +409,8 @@ void CMakeRunPage::initializePage()
QVariant profileVariant = qVariantFromValue(static_cast<void *>(p));
ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainProfileInformation::toolChain(p);
if (!tc)
ProjectExplorer::Abi targetAbi = tc->targetAbi();
if (targetAbi.os() == ProjectExplorer::Abi::WindowsOS) {
if (targetAbi.osFlavor() == ProjectExplorer::Abi::WindowsMsvc2005Flavor
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