forked from qt-creator/qt-creator
Symbian: Platform returned by the S60Manager::platform is now valid
This commit is contained in:
@@ -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('-')));
|
||||
|
||||
Reference in New Issue
Block a user