fix highlights - reformat some stuff

This commit is contained in:
Rasmus Karlsson
2017-09-24 18:43:24 +02:00
parent 903cf30ddf
commit c14dc43b18
8 changed files with 27 additions and 46 deletions
+5 -21
View File
@@ -7,11 +7,6 @@
#include "ircmanager.hpp"
#include "messages/link.hpp"
#include "resources.hpp"
#include "settingsmanager.hpp"
#include <QColor>
#include <QObjectUserData>
#include <QStringList>
#include <ctime>
#include <list>
@@ -20,27 +15,16 @@
namespace chatterino {
namespace messages {
/*
Message::Message(const QString &text)
: text(text)
{
this->words.push_back(
Word(text, Word::Text, ColorScheme::getInstance().SystemMessageColor, text, QString()));
}
*/
//Message::Message(const QString &text, const std::vector<Word> &words, const bool &highlight)
// : text(text)
// , highlightTab(highlight)
// , words(words)
//{
//}
bool Message::getCanHighlightTab() const
{
return this->highlightTab;
}
void Message::setHighlight(bool value)
{
this->highlightTab = value;
}
const QString &Message::getTimeoutUser() const
{
return this->timeoutUser;