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
Marco Bubke
flatpak-qt-creator
Commits
f23c4632
Commit
f23c4632
authored
Feb 23, 2011
by
Pawel Polanski
Browse files
Fixes for the Static Checks
parent
f125b571
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/addlibrarywizard.h
View file @
f23c4632
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** No Commercial Usage
**
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
**
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**************************************************************************/
#ifndef ADDLIBRARYWIZARD_H
#define ADDLIBRARYWIZARD_H
...
...
src/plugins/qt4projectmanager/qt-desktop/qt4runconfiguration.cpp
View file @
f23c4632
...
...
@@ -606,7 +606,7 @@ Utils::Environment Qt4RunConfiguration::baseEnvironment() const
// dirs to the path
const
Qt4ProFileNode
*
node
=
qt4Target
()
->
qt4Project
()
->
rootProjectNode
()
->
findProFileFor
(
m_proFilePath
);
if
(
node
)
foreach
(
const
QString
dir
,
node
->
variableValue
(
LibDirectoriesVar
))
foreach
(
const
QString
&
dir
,
node
->
variableValue
(
LibDirectoriesVar
))
env
.
prependOrSetPath
(
dir
);
#endif
return
env
;
...
...
src/plugins/qt4projectmanager/qt-s60/codaruncontrol.cpp
View file @
f23c4632
...
...
@@ -265,7 +265,7 @@ void CodaRunControl::handleContextSuspended(const CodaEvent &event)
if
(
me
.
reason
()
==
TcfSuspendEvent
::
Crash
)
stop
();
else
m_codaDevice
->
sendRunControlResumeCommand
(
CodaCallback
(),
me
.
id
());
//TODO: Should I resume automaticly
m_codaDevice
->
sendRunControlResumeCommand
(
CodaCallback
(),
me
.
id
());
//TODO: Should I resume automatic
al
ly
break
;
default:
if
(
debug
)
...
...
@@ -307,7 +307,11 @@ void CodaRunControl::handleFindProcesses(const CodaCommandResult &result)
}
else
{
setProgress
(
maxProgress
()
*
0.90
);
m_codaDevice
->
sendProcessStartCommand
(
CodaCallback
(
this
,
&
CodaRunControl
::
handleCreateProcess
),
executableName
(),
executableUid
(),
commandLineArguments
().
split
(
" "
),
QString
(),
true
);
executableName
(),
executableUid
(),
commandLineArguments
().
split
(
' '
),
QString
(),
true
);
appendMessage
(
tr
(
"Launching: %1"
).
arg
(
executableName
()),
NormalMessageFormat
);
}
}
...
...
src/plugins/qt4projectmanager/qt-s60/s60certificateinfo.cpp
View file @
f23c4632
...
...
@@ -205,7 +205,7 @@ bool S60CertificateInfo::compareCapabilities(const QStringList &givenCaps, QStri
return
true
;
QStringList
capabilities
(
createCapabilityList
(
capabilitiesSupported
()));
foreach
(
QString
capability
,
givenCaps
)
{
foreach
(
const
QString
&
capability
,
givenCaps
)
{
if
(
!
capabilities
.
contains
(
capability
,
Qt
::
CaseInsensitive
))
unsupportedCaps
<<
capability
;
}
...
...
src/plugins/qt4projectmanager/qt-s60/s60emulatorrunconfiguration.h
View file @
f23c4632
...
...
@@ -94,7 +94,7 @@ protected:
private:
void
ctor
();
void
handleParserState
(
bool
sucess
);
void
handleParserState
(
bool
suc
c
ess
);
void
updateTarget
();
QString
m_proFilePath
;
...
...
src/plugins/qt4projectmanager/qt-s60/s60symbiancertificate.cpp
View file @
f23c4632
...
...
@@ -350,7 +350,7 @@ public:
/**
* Get a value for a specific subject_info parameter name.
* @param name the name of the paramter to look up. Possible names are
* @param name the name of the param
e
ter to look up. Possible names are
* "X509.Certificate.v2.key_id" or "X509v3.AuthorityKeyIdentifier".
* @return the value(s) of the specified parameter
*/
...
...
src/plugins/qt4projectmanager/wizards/mobilelibraryparameters.cpp
View file @
f23c4632
...
...
@@ -76,7 +76,7 @@ QString generateCapabilitySet(uint capabilities)
QString
capabilitySet
;
for
(
int
i
=
0
;
i
<
capabilityCount
;
++
i
)
if
(
capabilities
&
symbianCapability
[
i
].
value
)
capabilitySet
+=
QLatin1String
(
symbianCapability
[
i
].
name
)
+
" "
;
capabilitySet
+=
QLatin1String
(
symbianCapability
[
i
].
name
)
+
' '
;
return
capabilitySet
;
}
...
...
src/shared/symbianutils/codadevice.cpp
View file @
f23c4632
...
...
@@ -961,7 +961,7 @@ void CodaDevice::sendProcessStartCommand(const CodaCallback &callBack,
QByteArray
startData
;
JsonInputStream
startStr
(
startData
);
startStr
<<
""
//We dont really know the drive of the working dir
startStr
<<
""
//We don
'
t really know the drive of the working dir
<<
'\0'
<<
binaryFileName
<<
'\0'
<<
arguments
<<
'\0'
<<
QStringList
()
<<
'\0'
// Env is an array ["PATH=value"] (non-standard)
<<
debugControl
;
...
...
@@ -1264,7 +1264,7 @@ void CodaDevice::sendRegistersGetMRangeCommand(const CodaCallback &callBack,
QVector
<
QByteArray
>
ids
;
ids
.
reserve
(
count
);
for
(
unsigned
i
=
start
;
i
<
end
;
i
++
)
for
(
unsigned
i
=
start
;
i
<
end
;
++
i
)
ids
.
push_back
(
d
->
m_registerNames
.
at
(
i
));
sendRegistersGetMCommand
(
callBack
,
contextId
,
ids
,
QVariant
(
start
));
}
...
...
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