From c9393fe3f658aada569c04427244786d280805a3 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 17 Feb 2021 18:47:37 +0100 Subject: [PATCH] Fix crash from logging unset indices (leftover after debugging) --- src/timeline/TimelineModel.cpp | 5 ----- 1 file changed, 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); } } }