forked from qt-creator/qt-creator
RemoteLinux: Fix prepending installPrefix.
The remoteDir started with "//" for an empty installPrefix. Change-Id: I2fa5614369a4186502ec666e9202a0f8976b5318 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -91,8 +91,10 @@ DeployableFilesPerProFile::DeployableFilesPerProFile(const Qt4ProFileNode *proFi
|
||||
d->deployables << DeployableFile(file, elem.path);
|
||||
}
|
||||
|
||||
for (int i = 0; i < d->deployables.count(); ++i)
|
||||
d->deployables[i].remoteDir.prepend(installPrefix + QLatin1Char('/'));
|
||||
if (!installPrefix.isEmpty()) {
|
||||
for (int i = 0; i < d->deployables.count(); ++i)
|
||||
d->deployables[i].remoteDir.prepend(installPrefix + QLatin1Char('/'));
|
||||
}
|
||||
}
|
||||
|
||||
DeployableFilesPerProFile::~DeployableFilesPerProFile()
|
||||
|
||||
Reference in New Issue
Block a user