summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-10-11 10:47:03 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-10-11 10:47:03 (GMT)
commita63f8175dc065289b4a8867a8e9dac01b883f9f0 (patch)
treeaa9aa71b0f731b770dede2376026ffa0c135ea91
parentdd40e4bdb844f793963160577b6b656fa870fde9 (diff)
downloadswift-contrib-a63f8175dc065289b4a8867a8e9dac01b883f9f0.zip
swift-contrib-a63f8175dc065289b4a8867a8e9dac01b883f9f0.tar.bz2
Don't allow Qt to unescape status content in the picker
-rw-r--r--Swift/QtUI/QtElidingLabel.cpp2
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() {