mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 01:24:36 +02:00
flush stdout in case non new-line output is received
This commit is contained in:
parent
16d603e203
commit
ce0c9e2e1a
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ void GLCanvas::wheelEvent(QWheelEvent* event) {
|
||||||
|
|
||||||
void messageHandler(QtMsgType type, const char* message) {
|
void messageHandler(QtMsgType type, const char* message) {
|
||||||
printf("%s", message);
|
printf("%s", message);
|
||||||
|
fflush(stdout);
|
||||||
|
|
||||||
LogDisplay::instance.addMessage(message);
|
LogDisplay::instance.addMessage(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue