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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment