summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-17 18:47:37 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-17 18:47:59 +0100
commitc9393fe3f658aada569c04427244786d280805a3 (patch)
tree64883ff742c351d914ac5b4ec2aa9a44b56323aa /src
parentMerge pull request #482 from eltociear/patch-1 (diff)
downloadnheko-c9393fe3f658aada569c04427244786d280805a3.tar.xz
Fix crash from logging unset indices (leftover after debugging)
Diffstat (limited to 'src')
-rw-r--r--src/timeline/TimelineModel.cpp5
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); } } }