Keep debug focused on file browser event delivery
This commit is contained in:
1 parent
b771e95997
commit
0773a82342
3 files changed
+17
-12
No files matched your search
@@ -807,7 +807,7 @@ void MessageList::saveChannelState() {
|
||||
}
|
||||
|
||||
qint64 lastReadMsgId = m_lastReadMsgId;
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_DEBUG, "MessageList::saveChannelState ch=%s bottom=%d read=%lld pos=%lld",
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_CHAT, "MessageList::saveChannelState ch=%s bottom=%d read=%lld pos=%lld",
|
||||
qPrintable(m_currentChannelId), (int)atBottom, (long long)lastReadMsgId, (long long)lastPosMsgId);
|
||||
|
||||
QByteArray cid = m_currentChannelId.toUtf8();
|
||||
@@ -898,7 +898,7 @@ void MessageList::updateReadPosition() {
|
||||
bool atBottom = sb && (sb->value() >= sb->maximum());
|
||||
qint64 lastPosMsgId = (!atBottom && topIdx.isValid()) ? topIdx.data(MsgIdRole).toLongLong() : 0;
|
||||
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_DEBUG,
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_CHAT,
|
||||
"MessageList::updateReadPosition ch=%s oldRead=%lld newRead=%lld pos=%lld bottom=%d lastVisRow=%d/%d",
|
||||
qPrintable(m_currentChannelId), (long long)m_lastReadMsgId,
|
||||
(long long)newReadMsgId, (long long)lastPosMsgId, (int)atBottom,
|
||||
|
||||
Reference in new issue
Block a user