Commit b950d7ae authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove empty line truncation from pro editors

it's bogus. and the ProWriter will take care not to add stray empty lines now.
parent fad6dd08
......@@ -283,8 +283,6 @@ void S60PublisherOvi::updateProFile(const QString &var, const QString &values)
return;
}
lines = QString::fromLocal8Bit(reader.data()).split(QLatin1Char('\n'));
while (!lines.isEmpty() && lines.last().isEmpty())
lines.removeLast();
ProWriter::putVarValues(profile, &lines, QStringList() << values, var,
ProWriter::ReplaceValues | ProWriter::OneLine | ProWriter::AppendOperator,
......
......@@ -1098,8 +1098,6 @@ void Qt4PriFileNode::changeFiles(const FileType fileType,
}
contents = QString::fromLocal8Bit(reader.data());
lines = contents.split(QLatin1Char('\n'));
while (!lines.isEmpty() && lines.last().isEmpty())
lines.removeLast();
}
ProMessageHandler handler;
......
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