diff --git a/src/plugins/remotelinux/deployablefilesperprofile.cpp b/src/plugins/remotelinux/deployablefilesperprofile.cpp index fbe0d68e605e115ed1d1bb49f5eb55bf6c4703c2..b9d618b6c3e13ab475125982968f323086344d37 100644 --- a/src/plugins/remotelinux/deployablefilesperprofile.cpp +++ b/src/plugins/remotelinux/deployablefilesperprofile.cpp @@ -91,11 +91,8 @@ DeployableFilesPerProFile::DeployableFilesPerProFile(const Qt4ProFileNode *proFi d->deployables << DeployableFile(file, elem.path); } - for (int i = 0; i < d->deployables.count(); ++i) { - QString &remoteDir = d->deployables[i].remoteDir; - if (QFileInfo(remoteDir).isRelative()) - remoteDir.prepend(installPrefix + QLatin1Char('/')); - } + for (int i = 0; i < d->deployables.count(); ++i) + d->deployables[i].remoteDir.prepend(installPrefix + QLatin1Char('/')); } DeployableFilesPerProFile::~DeployableFilesPerProFile()