Skip to content
Snippets Groups Projects
Commit 6f5158fa authored by ck's avatar ck
Browse files

Refactor conditional for clarity ...

... and diff-reduction to Maemo branch. :)

Real-Author: ossi
parent 46c4f84a
No related branches found
No related tags found
No related merge requests found
...@@ -99,13 +99,13 @@ bool Qt4RunConfiguration::isEnabled() const ...@@ -99,13 +99,13 @@ bool Qt4RunConfiguration::isEnabled() const
Qt4Project *pro = qobject_cast<Qt4Project*>(project()); Qt4Project *pro = qobject_cast<Qt4Project*>(project());
QTC_ASSERT(pro, return false); QTC_ASSERT(pro, return false);
ProjectExplorer::ToolChain::ToolChainType type = pro->toolChainType(pro->activeBuildConfiguration()); ProjectExplorer::ToolChain::ToolChainType type = pro->toolChainType(pro->activeBuildConfiguration());
return type != ProjectExplorer::ToolChain::WINSCW if (type == ProjectExplorer::ToolChain::WINSCW
&& type != ProjectExplorer::ToolChain::GCCE || type == ProjectExplorer::ToolChain::GCCE
&& type != ProjectExplorer::ToolChain::RVCT_ARMV5 || type == ProjectExplorer::ToolChain::RVCT_ARMV5
&& type != ProjectExplorer::ToolChain::RVCT_ARMV6; || type == ProjectExplorer::ToolChain::RVCT_ARMV6)
#else return false;
return true;
#endif #endif
return true;
} }
////// //////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment