mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove unused Emojis class/cpp file
This commit is contained in:
parent
7452e7d566
commit
65e18d4833
3 changed files with 0 additions and 23 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#include "emojis.hpp"
|
||||
#include "emotemanager.hpp"
|
||||
|
||||
#include <QFile>
|
||||
#include <QStringBuilder>
|
||||
#include <QTextStream>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
QRegularExpression Emojis::findShortCodesRegex(":([-+\\w]+):");
|
||||
|
||||
} // namespace chatterino
|
|
@ -4,7 +4,6 @@
|
|||
#include "messages/lazyloadedimage.hpp"
|
||||
|
||||
#include <QObject>
|
||||
#include <QRegularExpression>
|
||||
#include <QString>
|
||||
|
||||
#include <unordered_map>
|
||||
|
@ -21,13 +20,4 @@ struct EmojiData {
|
|||
QString shortCode;
|
||||
};
|
||||
|
||||
class Emojis
|
||||
{
|
||||
public:
|
||||
static QString replaceShortCodes(const QString &text);
|
||||
|
||||
private:
|
||||
static QRegularExpression findShortCodesRegex;
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
|
Loading…
Reference in a new issue