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