From 3d4c8e147c5f6a6e257ef48cfb5fe476c35b1d7b Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 30 Mar 2021 01:11:18 -0400 Subject: Fix ExpandableGroup naming and animation --- ui/xreflist.h | 5 +++-- 1 file 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); }; -- cgit v1.3.1