Skip to content
Snippets Groups Projects
Commit 595ee9ff authored by ck's avatar ck
Browse files

Maemo: Only save a remote file path if it has been set by the user.

QTCREATORBUG-1661
parent 9f967960
No related branches found
No related tags found
No related merge requests found
...@@ -175,11 +175,9 @@ void MaemoPackageContents::fromMap(const QVariantMap &map) ...@@ -175,11 +175,9 @@ void MaemoPackageContents::fromMap(const QVariantMap &map)
QString MaemoPackageContents::remoteExecutableFilePath() const QString MaemoPackageContents::remoteExecutableFilePath() const
{ {
if (m_remoteExecutableFilePath.isEmpty()) { return m_remoteExecutableFilePath.isEmpty()
m_remoteExecutableFilePath = QLatin1String("/usr/local/bin/") ? QLatin1String("/usr/local/bin/") + m_packageStep->executableFileName()
+ m_packageStep->executableFileName(); : m_remoteExecutableFilePath;
}
return m_remoteExecutableFilePath;
} }
} // namespace Qt4ProjectManager } // namespace Qt4ProjectManager
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment