hehe fourtf

This commit is contained in:
Rasmus Karlsson 2017-12-17 00:01:42 +01:00
parent 3cfb00d61f
commit e060f87b3c
3 changed files with 20 additions and 2 deletions

View file

@ -169,7 +169,8 @@ HEADERS += \
src/widgets/window.hpp \
src/widgets/splitcontainer.hpp \
src/widgets/helper/droppreview.hpp \
src/widgets/helper/splitcolumn.hpp
src/widgets/helper/splitcolumn.hpp \
src/util/irchelpers.hpp
PRECOMPILED_HEADER =

View file

@ -7,6 +7,7 @@
#include "ircmanager.hpp"
#include "messages/link.hpp"
#include "resources.hpp"
#include "util/irchelpers.hpp"
#include <ctime>
#include <list>
@ -136,7 +137,7 @@ Message *Message::createTimeoutMessage(const QString &username, const QString &d
if (reason.length() > 0) {
text.append(": \"");
text.append(reason);
text.append(ParseTagString(reason));
text.append("\"");
}
text.append(".");

16
src/util/irchelpers.hpp Normal file
View file

@ -0,0 +1,16 @@
#pragma once
#include <QString>
namespace chatterino {
QString ParseTagString(const QString &input)
{
QString output = input;
// code goes here
return output;
}
} // namespace chatterino