aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/WideBar.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ui/widgets/WideBar.h')
-rw-r--r--launcher/ui/widgets/WideBar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/ui/widgets/WideBar.h b/launcher/ui/widgets/WideBar.h
index 0d60f8a4..ed4cb3c7 100644
--- a/launcher/ui/widgets/WideBar.h
+++ b/launcher/ui/widgets/WideBar.h
@@ -41,6 +41,10 @@ class WideBar : public QToolBar {
auto getMatching(QAction* act) -> QList<BarEntry>::iterator;
+ /** Used to distinguish between versions of the WideBar with different actions */
+ [[nodiscard]] QByteArray getHash() const;
+ [[nodiscard]] bool checkHash(QByteArray const&) const;
+
private:
QList<BarEntry> m_entries;