hehe fourtf
This commit is contained in:
+2
-1
@@ -169,7 +169,8 @@ HEADERS += \
|
|||||||
src/widgets/window.hpp \
|
src/widgets/window.hpp \
|
||||||
src/widgets/splitcontainer.hpp \
|
src/widgets/splitcontainer.hpp \
|
||||||
src/widgets/helper/droppreview.hpp \
|
src/widgets/helper/droppreview.hpp \
|
||||||
src/widgets/helper/splitcolumn.hpp
|
src/widgets/helper/splitcolumn.hpp \
|
||||||
|
src/util/irchelpers.hpp
|
||||||
|
|
||||||
|
|
||||||
PRECOMPILED_HEADER =
|
PRECOMPILED_HEADER =
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
#include "ircmanager.hpp"
|
#include "ircmanager.hpp"
|
||||||
#include "messages/link.hpp"
|
#include "messages/link.hpp"
|
||||||
#include "resources.hpp"
|
#include "resources.hpp"
|
||||||
|
#include "util/irchelpers.hpp"
|
||||||
|
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <list>
|
#include <list>
|
||||||
@@ -136,7 +137,7 @@ Message *Message::createTimeoutMessage(const QString &username, const QString &d
|
|||||||
|
|
||||||
if (reason.length() > 0) {
|
if (reason.length() > 0) {
|
||||||
text.append(": \"");
|
text.append(": \"");
|
||||||
text.append(reason);
|
text.append(ParseTagString(reason));
|
||||||
text.append("\"");
|
text.append("\"");
|
||||||
}
|
}
|
||||||
text.append(".");
|
text.append(".");
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user