fix 5.12 build

This commit is contained in:
Martin Rotter 2022-01-12 09:11:21 +01:00
parent 45afba57e3
commit b1d4bd93ec
1 changed files with 6 additions and 0 deletions

View File

@ -609,7 +609,13 @@ void FeedsView::expandItemDelayed(const QModelIndex& source_idx) {
// NOTE: These changes are caused by filtering mechanisms
// and we don't want to store the values.
m_dontSaveExpandState = true;
#if QT_VERSION >= 0x050D00 // Qt >= 5.13.0
expandRecursively(pidx);
#else
setExpanded(pidx, true);
#endif
m_dontSaveExpandState = false;
//});