From 65e18d48335049cdbc1e8875b2cb64bea0666fcf Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Mon, 31 Jul 2017 21:57:21 +0200 Subject: [PATCH] Remove unused Emojis class/cpp file --- chatterino.pro | 1 - src/emojis.cpp | 12 ------------ src/emojis.hpp | 10 ---------- 3 files changed, 23 deletions(-) delete mode 100644 src/emojis.cpp diff --git a/chatterino.pro b/chatterino.pro index c0626b5cb..96548e8e2 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -51,7 +51,6 @@ SOURCES += \ src/channel.cpp \ src/channeldata.cpp \ src/colorscheme.cpp \ - src/emojis.cpp \ src/ircmanager.cpp \ src/messages/lazyloadedimage.cpp \ src/messages/link.cpp \ diff --git a/src/emojis.cpp b/src/emojis.cpp deleted file mode 100644 index 84d075827..000000000 --- a/src/emojis.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "emojis.hpp" -#include "emotemanager.hpp" - -#include -#include -#include - -namespace chatterino { - -QRegularExpression Emojis::findShortCodesRegex(":([-+\\w]+):"); - -} // namespace chatterino diff --git a/src/emojis.hpp b/src/emojis.hpp index 6a2a005c1..b50ffb2f4 100644 --- a/src/emojis.hpp +++ b/src/emojis.hpp @@ -4,7 +4,6 @@ #include "messages/lazyloadedimage.hpp" #include -#include #include #include @@ -21,13 +20,4 @@ struct EmojiData { QString shortCode; }; -class Emojis -{ -public: - static QString replaceShortCodes(const QString &text); - -private: - static QRegularExpression findShortCodesRegex; -}; - } // namespace chatterino