mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
use fprintf instead of printf and flush for qDebug
This commit is contained in:
parent
1e0f3e4d1c
commit
7cec2f5ffd
1 changed files with 1 additions and 3 deletions
|
@ -165,9 +165,7 @@ void GLCanvas::wheelEvent(QWheelEvent* event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void messageHandler(QtMsgType type, const char* message) {
|
void messageHandler(QtMsgType type, const char* message) {
|
||||||
printf("%s", message);
|
fprintf(stdout, "%s", message);
|
||||||
fflush(stdout);
|
|
||||||
|
|
||||||
LogDisplay::instance.addMessage(message);
|
LogDisplay::instance.addMessage(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue