fix(chatgui): replace qDebug with DEBUG_INFO for online trace logs
This commit is contained in:
1 parent
ac0d1c18ed
commit
cf46a59d3a
2 files changed
+13
-9
No files matched your search
@@ -297,7 +297,8 @@ void MainWindow::onAutoConnectStatus(uint8_t status, uint16_t /*total_tried*/,
|
||||
void MainWindow::onChannelPeersOnline(const char* ch_id, int ch_id_len, uint16_t online) {
|
||||
if (m_channelList) {
|
||||
QString cid = QString::fromUtf8(ch_id, ch_id_len);
|
||||
qDebug() << "MainWindow::onChannelPeersOnline cid=" << cid << "online=" << online;
|
||||
DEBUG_INFO(DEBUG_CATEGORY_DEBUG, "MainWindow::onChannelPeersOnline cid=%s online=%u",
|
||||
qPrintable(cid), online);
|
||||
m_channelList->setChannelPeersOnline(cid, (int)online);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user