Clean up event to string related codes.

Working on #55.
This commit is contained in:
Black Hat
2018-10-24 21:15:26 +08:00
parent 47782f3198
commit e19e3b8ff9
6 changed files with 159 additions and 115 deletions

6
src/utils.cpp Normal file
View File

@@ -0,0 +1,6 @@
#include "utils.h"
QString utils::removeReply(const QString& text) {
QString result(text);
return result.remove(utils::removeReplyRegex);
}