fix: Build issue on Ubuntu: qInfo() undefined in serverList.cpp #112

This commit is contained in:
Volker Fischer 2020-04-19 19:58:34 +02:00
parent ad6bcc2317
commit 116f156022

View File

@ -587,7 +587,8 @@ void CServerListManager::SlaveServerRegisterServer ( const bool bIsRegister )
void CServerListManager::SetSvrRegStatus ( ESvrRegStatus eNSvrRegStatus )
{
// output regirstation result/update on the console
qInfo() << "Server Registration Status update:" << svrRegStatusToString ( eNSvrRegStatus );
QTextStream& tsConsoleStream = *( ( new ConsoleWriterFactory() )->get() );
tsConsoleStream << "Server Registration Status update:" << svrRegStatusToString ( eNSvrRegStatus ) << endl;
// store the state and inform the GUI about the new status
eSvrRegStatus = eNSvrRegStatus;