Symbian: Platform returned by the S60Manager::platform is now valid

This commit is contained in:
Pawel Polanski
2011-02-28 11:25:40 +01:00
parent 9ea68e7805
commit 803add0e61

View File

@@ -152,7 +152,7 @@ S60Manager::~S60Manager()
QString S60Manager::platform(const ProjectExplorer::ToolChain *tc)
{
if (!tc || tc->targetAbi().os() == ProjectExplorer::Abi::SymbianOS)
if (!tc || tc->targetAbi().os() != ProjectExplorer::Abi::SymbianOS)
return QString();
QString target = tc->defaultMakeTarget();
return target.right(target.lastIndexOf(QLatin1Char('-')));