Version 3.2: Fix build error on Linux.

This commit is contained in:
John Preston 2021-11-03 17:56:32 +04:00
parent d6e6c51639
commit 63919422e0
1 changed files with 0 additions and 1 deletions

View File

@ -681,7 +681,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) {
const auto height = view->height(); const auto height = view->height();
const auto middle = top + height / 2; const auto middle = top + height / 2;
const auto bottom = top + height;
if (_visibleAreaBottom >= middle if (_visibleAreaBottom >= middle
&& _visibleAreaTop <= middle) { && _visibleAreaTop <= middle) {
if (item->hasViews()) { if (item->hasViews()) {