diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2021-01-20 09:19:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-20 09:19:53 +0100 |
| commit | 7caa9806bc8b7d80dd6377bdebcef988ad9fcb13 (patch) | |
| tree | 35a43390ecb967166418d13907dd0e2a58d54ebc /src/modlistbypriorityproxy.h | |
| parent | 7b1f1f29da29ed57b76460028297c3974dc3a86e (diff) | |
| parent | 932a562d9d36d10ec29821ee0af957f0dd3da498 (diff) | |
Merge pull request #1375 from Holt59/fix-collapsible-separators-reverse
Fix refresh on by-priority proxy when changing sort order.
Diffstat (limited to 'src/modlistbypriorityproxy.h')
| -rw-r--r-- | src/modlistbypriorityproxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlistbypriorityproxy.h b/src/modlistbypriorityproxy.h index 77e0fe3d..0629bef7 100644 --- a/src/modlistbypriorityproxy.h +++ b/src/modlistbypriorityproxy.h @@ -54,7 +54,7 @@ public slots: protected slots: void onModelRowsRemoved(const QModelIndex& parent, int first, int last); - void onModelLayoutChanged(const QList<QPersistentModelIndex>& parents, LayoutChangeHint hint); + void onModelLayoutChanged(const QList<QPersistentModelIndex>& parents = {}, LayoutChangeHint hint = LayoutChangeHint::NoLayoutChangeHint); void onModelReset(); void onModelDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector<int>& roles = QVector<int>()); |
