mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
hehe fourtf
This commit is contained in:
parent
3cfb00d61f
commit
e060f87b3c
|
@ -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 =
|
||||
|
|
|
@ -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
16
src/util/irchelpers.hpp
Normal 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
|
Loading…
Reference in a new issue