Fixed problem with changing tool chain type for generic projects

Some fixes were needed after the tool chain type was changed from
QString to an enum.

Task-number: 259939
This commit is contained in:
Thorbjørn Lindeijer
2009-08-21 15:59:17 +02:00
parent 08304eb6cd
commit a5b22b18bd
3 changed files with 37 additions and 26 deletions

View File

@@ -135,7 +135,7 @@ QString ToolChain::toolChainName(ToolChainType tc)
return QCoreApplication::translate("ToolChain", "<Invalid>");
case UNKNOWN:
break;
default:
default:
Q_ASSERT("Missing name for Toolchaintype");
};
return QCoreApplication::translate("ToolChain", "<Unknown>");