/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2019 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "coreapplication.h"
-CoreApplication::CoreApplication(int &argc, char **argv)
+CoreApplication::CoreApplication(int& argc, char** argv)
: QCoreApplication(argc, argv)
{
Quassel::registerQuitHandler([this]() {
});
}
-
void CoreApplication::init()
{
_core = std::make_unique<Core>();
_core->init();
}
-
void CoreApplication::onShutdownComplete()
{
connect(_core.get(), &QObject::destroyed, QCoreApplication::instance(), &QCoreApplication::quit);