mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +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) {
|
||||
printf("%s", message);
|
||||
fflush(stdout);
|
||||
|
||||
fprintf(stdout, "%s", message);
|
||||
LogDisplay::instance.addMessage(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue