diff options
author | J-P Nurmi <jpnurmi@gmail.com> | 2018-11-15 12:21:52 +0300 |
---|---|---|
committer | J-P Nurmi <jpnurmi@gmail.com> | 2018-11-17 11:22:52 +0300 |
commit | b546e7c2249747d0808af14cfe36a47bde95f0ef (patch) | |
tree | 62ddc2ef451ad32a7c1920fc96949f4911962e98 /src/gui/elidedlabel.h | |
parent | cd58850f5b4e0ef8faece8a3a20ee4586c920a03 (diff) |
ElidedLabel: add default constructor
Makes it possible to promote QLabel to an ElidedLabel in Qt Designer.
Diffstat (limited to 'src/gui/elidedlabel.h')
-rw-r--r-- | src/gui/elidedlabel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/elidedlabel.h b/src/gui/elidedlabel.h index 1101dc16b..968628c8f 100644 --- a/src/gui/elidedlabel.h +++ b/src/gui/elidedlabel.h @@ -24,6 +24,7 @@ class ElidedLabel : public QLabel { Q_OBJECT public: + explicit ElidedLabel(QWidget *parent = nullptr); explicit ElidedLabel(const QString &text, QWidget *parent = nullptr); void setText(const QString &text); |