mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
Fix crash from logging unset indices (leftover after debugging)
This commit is contained in:
parent
7ff7e33d4a
commit
c9393fe3f6
1 changed files with 0 additions and 5 deletions
|
@ -753,11 +753,6 @@ TimelineModel::setCurrentIndex(int index)
|
||||||
(!oldReadIndex || *oldReadIndex < nextEventIndexAndId->first)) {
|
(!oldReadIndex || *oldReadIndex < nextEventIndexAndId->first)) {
|
||||||
readEvent(nextEventIndexAndId->second);
|
readEvent(nextEventIndexAndId->second);
|
||||||
currentReadId = QString::fromStdString(nextEventIndexAndId->second);
|
currentReadId = QString::fromStdString(nextEventIndexAndId->second);
|
||||||
|
|
||||||
nhlog::net()->info("Marked as read {}, index {}, oldReadIndex {}",
|
|
||||||
nextEventIndexAndId->second,
|
|
||||||
nextEventIndexAndId->first,
|
|
||||||
*oldReadIndex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue