Remove unused Emojis class/cpp file

This commit is contained in:
Rasmus Karlsson 2017-07-31 21:57:21 +02:00
parent 7452e7d566
commit 65e18d4833
3 changed files with 0 additions and 23 deletions

View file

@ -51,7 +51,6 @@ SOURCES += \
src/channel.cpp \ src/channel.cpp \
src/channeldata.cpp \ src/channeldata.cpp \
src/colorscheme.cpp \ src/colorscheme.cpp \
src/emojis.cpp \
src/ircmanager.cpp \ src/ircmanager.cpp \
src/messages/lazyloadedimage.cpp \ src/messages/lazyloadedimage.cpp \
src/messages/link.cpp \ src/messages/link.cpp \

View file

@ -1,12 +0,0 @@
#include "emojis.hpp"
#include "emotemanager.hpp"
#include <QFile>
#include <QStringBuilder>
#include <QTextStream>
namespace chatterino {
QRegularExpression Emojis::findShortCodesRegex(":([-+\\w]+):");
} // namespace chatterino

View file

@ -4,7 +4,6 @@
#include "messages/lazyloadedimage.hpp" #include "messages/lazyloadedimage.hpp"
#include <QObject> #include <QObject>
#include <QRegularExpression>
#include <QString> #include <QString>
#include <unordered_map> #include <unordered_map>
@ -21,13 +20,4 @@ struct EmojiData {
QString shortCode; QString shortCode;
}; };
class Emojis
{
public:
static QString replaceShortCodes(const QString &text);
private:
static QRegularExpression findShortCodesRegex;
};
} // namespace chatterino } // namespace chatterino