fix 5.12 build
This commit is contained in:
parent
45afba57e3
commit
b1d4bd93ec
@ -609,7 +609,13 @@ void FeedsView::expandItemDelayed(const QModelIndex& source_idx) {
|
|||||||
// NOTE: These changes are caused by filtering mechanisms
|
// NOTE: These changes are caused by filtering mechanisms
|
||||||
// and we don't want to store the values.
|
// and we don't want to store the values.
|
||||||
m_dontSaveExpandState = true;
|
m_dontSaveExpandState = true;
|
||||||
|
|
||||||
|
#if QT_VERSION >= 0x050D00 // Qt >= 5.13.0
|
||||||
expandRecursively(pidx);
|
expandRecursively(pidx);
|
||||||
|
#else
|
||||||
|
setExpanded(pidx, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
m_dontSaveExpandState = false;
|
m_dontSaveExpandState = false;
|
||||||
|
|
||||||
//});
|
//});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user