diff options
-rw-r--r-- | Swift/QtUI/QtElidingLabel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtElidingLabel.cpp b/Swift/QtUI/QtElidingLabel.cpp index 3d53006..4a1c37d 100644 --- a/Swift/QtUI/QtElidingLabel.cpp +++ b/Swift/QtUI/QtElidingLabel.cpp @@ -11,12 +11,14 @@ QtElidingLabel::QtElidingLabel(QWidget* parent, Qt::WindowFlags f) : QLabel(pare fullText_ = ""; dirty_ = true; setSizes(); + setTextFormat(Qt::PlainText); } QtElidingLabel::QtElidingLabel(const QString& text, QWidget* parent, Qt::WindowFlags f) : QLabel(text, parent, f) { fullText_ = text; dirty_ = true; setSizes(); + setTextFormat(Qt::PlainText); } QtElidingLabel::~QtElidingLabel() { |