diff options
| author | Josh Ferrell <josh@vector35.com> | 2021-03-30 01:11:18 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2021-03-30 01:14:21 -0400 |
| commit | 3d4c8e147c5f6a6e257ef48cfb5fe476c35b1d7b (patch) | |
| tree | 1d111b9bcd76d4fa850720d078a407c5c51cda20 | |
| parent | c9d5811fd9625dea54c403f69ec5535d308792b0 (diff) | |
Fix ExpandableGroup naming and animation
| -rw-r--r-- | ui/xreflist.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/xreflist.h b/ui/xreflist.h index fe59d3d4..0a9708a6 100644 --- a/ui/xreflist.h +++ b/ui/xreflist.h @@ -517,13 +517,14 @@ private: QScrollArea* m_content; int m_duration = 100; -public Q_SLOTS: - void toggle(bool collapsed); +private Q_SLOTS: + void toggled(bool expanded); public: explicit ExpandableGroup(const QString& title = "", QWidget* parent = nullptr); void setContentLayout(QLayout* contentLayout); void setTitle(const QString& title) { m_button->setText(title); } + void toggle(bool expanded); }; |
