mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
46f432890f
Message now stores a copy of the content string Use .nick() instead of .account() to get the users lowercase name (login name)
48 lines
893 B
C++
48 lines
893 B
C++
#include "channels.h"
|
|
#include "colorscheme.h"
|
|
#include "emojis.h"
|
|
#include "emotes.h"
|
|
#include "ircmanager.h"
|
|
#include "logging/loggingmanager.h"
|
|
#include "resources.h"
|
|
#include "settings.h"
|
|
#include "widgets/mainwindow.h"
|
|
#include "windows.h"
|
|
|
|
#include <QApplication>
|
|
#include <QClipboard>
|
|
#include <boost/signals2.hpp>
|
|
|
|
using namespace chatterino;
|
|
using namespace chatterino::widgets;
|
|
|
|
int
|
|
main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
|
|
chatterino::logging::init();
|
|
chatterino::initChannels();
|
|
Settings::getInstance().load();
|
|
Resources::load();
|
|
Emojis::loadEmojis();
|
|
Emotes::loadGlobalEmotes();
|
|
|
|
ColorScheme::getInstance().init();
|
|
|
|
Windows::load();
|
|
|
|
MainWindow &w = Windows::getMainWindow();
|
|
w.show();
|
|
|
|
IrcManager::connect();
|
|
|
|
int ret = a.exec();
|
|
|
|
Settings::getInstance().save();
|
|
|
|
Windows::save();
|
|
|
|
return ret;
|
|
}
|