summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2013-01-31 11:57:20 +0100
committerTim Jenssen <tim.jenssen@digia.com>2013-01-31 12:32:59 +0100
commit7c3841a124c10566f26bd55124a869f01bdfd833 (patch)
treed9626cf0637a897c131f6aa42c2741ac6cf0a3d1
parenta321c3c547bbf7b214e98db84ce7b450df0c4ff5 (diff)
Fix InstallationLog.txt wrong line endings on windows.
Task-number: QTIFW-216 Change-Id: I0e0ed02f3f57e5f6be964356ac65980947dbaf79 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
-rw-r--r--src/libs/installer/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/utils.cpp b/src/libs/installer/utils.cpp
index 50419b531..239eef504 100644
--- a/src/libs/installer/utils.cpp
+++ b/src/libs/installer/utils.cpp
@@ -188,7 +188,7 @@ QInstaller::VerboseWriter::~VerboseWriter()
return;
QFile output(logFileName);
- if (output.open(QIODevice::ReadWrite | QIODevice::Append)) {
+ if (output.open(QIODevice::ReadWrite | QIODevice::Append | QIODevice::Text)) {
QString logInfo;
logInfo += QLatin1String("*************************************");
logInfo += QLatin1String("Invoked:") + QDateTime::currentDateTime().toString();