Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
5bc7652c
Commit
5bc7652c
authored
Jan 17, 2011
by
dt
Browse files
Fix some style issues
parent
dbf7a1f5
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/project.cpp
View file @
5bc7652c
...
...
@@ -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
)
{
...
...
src/plugins/projectexplorer/targetsettingspanel.cpp
View file @
5bc7652c
...
...
@@ -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
;
...
...
src/plugins/qt4projectmanager/qt-s60/qt4symbiantarget.cpp
View file @
5bc7652c
...
...
@@ -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
;
}
...
...
src/plugins/qt4projectmanager/wizards/targetsetuppage.cpp
View file @
5bc7652c
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment