diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-10-11 10:47:03 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-10-11 10:47:03 (GMT) |
commit | a63f8175dc065289b4a8867a8e9dac01b883f9f0 (patch) | |
tree | aa9aa71b0f731b770dede2376026ffa0c135ea91 /Swift | |
parent | dd40e4bdb844f793963160577b6b656fa870fde9 (diff) | |
download | swift-contrib-a63f8175dc065289b4a8867a8e9dac01b883f9f0.zip swift-contrib-a63f8175dc065289b4a8867a8e9dac01b883f9f0.tar.bz2 |
Don't allow Qt to unescape status content in the picker
Diffstat (limited to 'Swift')
-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() { |