From ce0c9e2e1a5aa67a885f4411506529dec448c9f2 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 16 Jul 2013 12:58:16 -0700 Subject: [PATCH] flush stdout in case non new-line output is received --- interface/src/Application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 0b29d6714d..6ebb4239b4 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -166,6 +166,8 @@ void GLCanvas::wheelEvent(QWheelEvent* event) { void messageHandler(QtMsgType type, const char* message) { printf("%s", message); + fflush(stdout); + LogDisplay::instance.addMessage(message); }