diff options
author | Eike Ziller <eike.ziller@qt.io> | 2022-05-04 15:03:52 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2022-05-09 09:44:59 +0000 |
commit | 66d78d3fa8e7af3d15f62fca117f4af3c0511774 (patch) | |
tree | 405007205cb33831a5352ca1c36a56802c8494f2 /src/libs/utils/infobar.cpp | |
parent | c6b75fc615f06db0d8cc4eed366e96b26b24e7db (diff) |
MinimizableInfoBars: Remove last hardcoded things
Change-Id: I6ec1e290056d97136077c0ddbc161669c7225eba
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/libs/utils/infobar.cpp')
-rw-r--r-- | src/libs/utils/infobar.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/utils/infobar.cpp b/src/libs/utils/infobar.cpp index cb416715725..831ba27e6f2 100644 --- a/src/libs/utils/infobar.cpp +++ b/src/libs/utils/infobar.cpp @@ -85,6 +85,16 @@ InfoBarEntry::InfoBarEntry(Id _id, const QString &_infoText, GlobalSuppression _ { } +Id InfoBarEntry::id() const +{ + return m_id; +} + +QString InfoBarEntry::text() const +{ + return m_infoText; +} + void InfoBarEntry::addCustomButton(const QString &buttonText, CallBack callBack, const QString &tooltip) |