Remove redundant check

This commit is contained in:
Pavel Shlyak
2019-08-18 19:07:19 +03:00
committed by GitHub
parent fd095a63ae
commit 4d6b8f7083

View File

@@ -556,7 +556,7 @@ void GroupedView::updateRows(qint32 row, quint16 curAlbum, bool scroll, const QM
return;
}
if (filterActive && model() && MPDState_Playing==MPDStatus::self()->state()) {
if (filterActive && MPDState_Playing==MPDStatus::self()->state()) {
if (scroll) {
scrollTo(model()->index(row, 0, parent), QAbstractItemView::PositionAtCenter);
}