Do not check username while logging.

This commit is contained in:
Black Hat
2018-10-16 18:29:19 +08:00
parent 3430882e05
commit 7b10707dde
3 changed files with 0 additions and 28 deletions

View File

@@ -170,12 +170,10 @@ void SpectralRoom::saveViewport(int topIndex, int bottomIndex) {
(bottomIndex == 0 || topIndex == savedTopVisibleIndex())))
return;
if (bottomIndex == 0) {
qDebug() << "Saving viewport as the latest available";
setFirstDisplayedEventId({});
setLastDisplayedEventId({});
return;
}
qDebug() << "Saving viewport:" << topIndex << "thru" << bottomIndex;
setFirstDisplayedEvent(maxTimelineIndex() - topIndex);
setLastDisplayedEvent(maxTimelineIndex() - bottomIndex);
}