diff options
| -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); }; |
