forked from qt-creator/qt-creator
Maemo: Only save a remote file path if it has been set by the user.
QTCREATORBUG-1661
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user