summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/ChatSnippet.cpp')
-rw-r--r--Swift/QtUI/ChatSnippet.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/ChatSnippet.cpp b/Swift/QtUI/ChatSnippet.cpp
index 7524623..ab31d29 100644
--- a/Swift/QtUI/ChatSnippet.cpp
+++ b/Swift/QtUI/ChatSnippet.cpp
@@ -35,4 +35,8 @@ QString ChatSnippet::timeToEscapedString(const QDateTime& time) {
return escape(time.toString(date));
}
+QString ChatSnippet::wrapResizable(const QString& text) {
+ return "<span class='swift_resizable'>" + text + "</span>";
+}
+
};