Fixed debug output.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-09-16 09:21:34 +03:00
parent e75951eb8e
commit b3f2869975

View File

@ -91,8 +91,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
switch (type) switch (type)
{ {
case QtDebugMsg: case QtDebugMsg:
std::cerr << msg.toUtf8().constData(); std::cerr << msg.toUtf8().constData() << std::endl;
std::cerr.flush();
return; return;
case QtWarningMsg: case QtWarningMsg:
messageBox.setIcon(QMessageBox::Warning); messageBox.setIcon(QMessageBox::Warning);