kopia lustrzana https://gitlab.com/eliggett/wfview
Stop log warning on wfserver
rodzic
9367d605f4
commit
f91dea47b5
4
main.cpp
4
main.cpp
|
@ -203,11 +203,7 @@ void messageHandler(QtMsgType type, const QMessageLogContext& context, const QSt
|
||||||
}
|
}
|
||||||
// Write to the output category of the message and the message itself
|
// Write to the output category of the message and the message itself
|
||||||
out << context.category << ": " << msg << "\n";
|
out << context.category << ": " << msg << "\n";
|
||||||
#ifdef BUILD_WFSERVER
|
|
||||||
std::cout << QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz ").toLocal8Bit().toStdString() << msg.toLocal8Bit().toStdString() << "\n";
|
std::cout << QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz ").toLocal8Bit().toStdString() << msg.toLocal8Bit().toStdString() << "\n";
|
||||||
#endif
|
|
||||||
text = out.readAll();
|
|
||||||
out.flush(); // Clear the buffered data
|
out.flush(); // Clear the buffered data
|
||||||
//mainwindow.handleLogText(test);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -169,4 +169,5 @@ HEADERS += servermain.h \
|
||||||
ulaw.h \
|
ulaw.h \
|
||||||
tcpserver.h \
|
tcpserver.h \
|
||||||
audiotaper.h \
|
audiotaper.h \
|
||||||
keyboard.h
|
keyboard.h \
|
||||||
|
wfviewtypes.h
|
Ładowanie…
Reference in New Issue