diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-17 18:47:37 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-17 18:47:59 +0100 |
commit | c9393fe3f658aada569c04427244786d280805a3 (patch) | |
tree | 64883ff742c351d914ac5b4ec2aa9a44b56323aa | |
parent | Merge pull request #482 from eltociear/patch-1 (diff) | |
download | nheko-c9393fe3f658aada569c04427244786d280805a3.tar.xz |
Fix crash from logging unset indices (leftover after debugging)
-rw-r--r-- | src/timeline/TimelineModel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 5c904932..3c33692e 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -753,11 +753,6 @@ TimelineModel::setCurrentIndex(int index) (!oldReadIndex || *oldReadIndex < nextEventIndexAndId->first)) { readEvent(nextEventIndexAndId->second); currentReadId = QString::fromStdString(nextEventIndexAndId->second); - - nhlog::net()->info("Marked as read {}, index {}, oldReadIndex {}", - nextEventIndexAndId->second, - nextEventIndexAndId->first, - *oldReadIndex); } } } |