summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/ChatSnippet.cpp')
-rw-r--r--Swift/QtUI/ChatSnippet.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/Swift/QtUI/ChatSnippet.cpp b/Swift/QtUI/ChatSnippet.cpp
index 5eb6268..2218c07 100644
--- a/Swift/QtUI/ChatSnippet.cpp
+++ b/Swift/QtUI/ChatSnippet.cpp
@@ -16,16 +16,6 @@ ChatSnippet::ChatSnippet(bool appendToPrevious) : appendToPrevious_(appendToPrev
ChatSnippet::~ChatSnippet() {
}
-QString ChatSnippet::loadTemplate(const QString& filename) {
- QFile file(filename);
- bool result = file.open(QIODevice::ReadOnly);
- Q_ASSERT(result);
- Q_UNUSED(result);
- QString content = file.readAll();
- file.close();
- return content;
-}
-
QString ChatSnippet::escape(const QString& original) {
QString result(original);
result.replace("%message%", "%message%");