Skip to content
GitLab
Menu
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
533d64c4
Commit
533d64c4
authored
Dec 03, 2009
by
ck
Browse files
Maemo: Take user-supplied private key file into account.
Reviewed-by: kh1
parent
043695b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp
View file @
533d64c4
...
...
@@ -1134,7 +1134,10 @@ const QStringList AbstractMaemoRunControl::options() const
const
bool
usePassword
=
devConfig
.
authentication
==
MaemoDeviceConfigurations
::
DeviceConfig
::
Password
;
const
QLatin1String
opt
(
"-o"
);
return
QStringList
()
<<
opt
QStringList
optionList
;
if
(
!
usePassword
)
optionList
<<
QLatin1String
(
"-i"
)
<<
devConfig
.
keyFile
;
return
optionList
<<
opt
<<
QString
::
fromLatin1
(
"PasswordAuthentication=%1"
).
arg
(
usePassword
?
"yes"
:
"no"
)
<<
opt
<<
QString
::
fromLatin1
(
"PubkeyAuthentication=%1"
).
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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