flush stdout in case non new-line output is received

This commit is contained in:
Stephen Birarda 2013-07-16 12:58:16 -07:00
parent 16d603e203
commit ce0c9e2e1a

View file

@ -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);
}