diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-11-03 10:17:05 +0100 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-11-03 11:17:04 +0100 |
commit | a037609c3f88046276a4e1f9420c71226a9faa4a (patch) | |
tree | 011997d76f1f15c6df8697a09b482120cc04639e /share/qtcreator | |
parent | cde1cafd32dcfacb1f8cb301dcc72391ac3f406f (diff) | |
download | qt-creator-a037609c3f88046276a4e1f9420c71226a9faa4a.tar.gz |
qmldump: Add a flush to fix output redirection problems on windows.
Task-number: QTCREATORBUG-5825
Change-Id: Ib086e8ed213738516015334736b1a2badb202993
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
Diffstat (limited to 'share/qtcreator')
-rw-r--r-- | share/qtcreator/qml/qmldump/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qml/qmldump/main.cpp b/share/qtcreator/qml/qmldump/main.cpp index 5f443baea6..a7584c7c2e 100644 --- a/share/qtcreator/qml/qmldump/main.cpp +++ b/share/qtcreator/qml/qmldump/main.cpp @@ -635,7 +635,7 @@ int main(int argc, char *argv[]) qml.writeEndObject(); qml.writeEndDocument(); - std::cout << bytes.constData(); + std::cout << bytes.constData() << std::flush; // workaround to avoid crashes on exit QTimer timer; |