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
595ee9ff
Commit
595ee9ff
authored
Jul 19, 2010
by
ck
Browse files
Maemo: Only save a remote file path if it has been set by the user.
QTCREATORBUG-1661
parent
9f967960
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.cpp
View file @
595ee9ff
...
...
@@ -175,11 +175,9 @@ void MaemoPackageContents::fromMap(const QVariantMap &map)
QString
MaemoPackageContents
::
remoteExecutableFilePath
()
const
{
if
(
m_remoteExecutableFilePath
.
isEmpty
())
{
m_remoteExecutableFilePath
=
QLatin1String
(
"/usr/local/bin/"
)
+
m_packageStep
->
executableFileName
();
}
return
m_remoteExecutableFilePath
;
return
m_remoteExecutableFilePath
.
isEmpty
()
?
QLatin1String
(
"/usr/local/bin/"
)
+
m_packageStep
->
executableFileName
()
:
m_remoteExecutableFilePath
;
}
}
// namespace Qt4ProjectManager
...
...
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