diff options
Diffstat (limited to 'lib/downloads/widgets/elidedlabel.h')
-rw-r--r-- | lib/downloads/widgets/elidedlabel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/downloads/widgets/elidedlabel.h b/lib/downloads/widgets/elidedlabel.h index d0f6221..d6c06c5 100644 --- a/lib/downloads/widgets/elidedlabel.h +++ b/lib/downloads/widgets/elidedlabel.h @@ -67,10 +67,12 @@ public: explicit ElidedLabel(QWidget *parent = nullptr); void setContent(const QString &text); - const QString & text() const { + const QString &text() const + { return content; } - bool isElided() const { + bool isElided() const + { return elided; } |