forked from qt-creator/qt-creator
Cmake fix warning
QTextStream: No device Change-Id: I059f163d82bea0719b9781d0e20c691606047326 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -737,9 +737,11 @@ void CMakeProject::updateApplicationAndDeploymentTargets()
|
||||
QString absoluteSourcePath = sourceDir.absolutePath();
|
||||
if (!absoluteSourcePath.endsWith(QLatin1Char('/')))
|
||||
absoluteSourcePath.append(QLatin1Char('/'));
|
||||
while (!deploymentStream.atEnd()) {
|
||||
QStringList file = deploymentStream.readLine().split(QLatin1Char(':'));
|
||||
deploymentData.addFile(absoluteSourcePath + file.at(0), deploymentPrefix + file.at(1));
|
||||
if (deploymentStream.device()) {
|
||||
while (!deploymentStream.atEnd()) {
|
||||
QStringList file = deploymentStream.readLine().split(QLatin1Char(':'));
|
||||
deploymentData.addFile(absoluteSourcePath + file.at(0), deploymentPrefix + file.at(1));
|
||||
}
|
||||
}
|
||||
|
||||
t->setApplicationTargets(appTargetList);
|
||||
|
Reference in New Issue
Block a user