Commit 5bc7652c authored by dt's avatar dt
Browse files

Fix some style issues

parent dbf7a1f5
......@@ -258,7 +258,7 @@ bool Project::fromMap(const QVariantMap &map)
Target *t = 0;
if(target(idFromMap(targetMap))) {
if (target(idFromMap(targetMap))) {
qWarning() << "Duplicated target id found, not restoring second target with id"<<idFromMap(targetMap)<<"(Continuing)";
} else {
foreach (ITargetFactory *factory, factories) {
......
......@@ -299,7 +299,7 @@ void TargetSettingsPanelWidget::updateTargetAddAndRemoveButtons()
QAction *action = new QAction(displayName, m_addMenu);
action->setData(QVariant(id));
bool added = false;
foreach(QAction *existing, m_addMenu->actions()) {
foreach (QAction *existing, m_addMenu->actions()) {
if (existing->text() > action->text()) {
m_addMenu->insertAction(existing, action);
added = true;
......
......@@ -180,7 +180,7 @@ bool Qt4SymbianTarget::isSymbianConnectionAvailable(QString &tooltipText)
}
break;
case S60DeployConfiguration::CommunicationTcpConnection: {
if(!s60DeployConf->deviceAddress().isEmpty() && !s60DeployConf->devicePort().isEmpty()) {
if (!s60DeployConf->deviceAddress().isEmpty() && !s60DeployConf->devicePort().isEmpty()) {
tooltipText = tr("<b>IP address:</b> %1:%2").arg(s60DeployConf->deviceAddress(), s60DeployConf->devicePort());
return true;
}
......
......@@ -361,7 +361,7 @@ QList<TargetSetupPage::ImportInfo> TargetSetupPage::importInfosForKnownQtVersion
QList<BuildConfigurationInfo> bcinfos;
foreach(Qt4BaseTargetFactory *fac, factories)
foreach (Qt4BaseTargetFactory *fac, factories)
bcinfos.append(fac->availableBuildConfigurations(proFilePath));
QList<ImportInfo> infos;
......
Markdown is supported
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