A lot of changes
Remove unused constructor of messages::Message Fixed LimitedQueueSnapshot _-prefixes Changed LimitedQueueSnapshot's usage of int to std::size_t ColorScheme is no longer a singleton Created a "BaseWidget" class which is pretty much a QWidget except it has a reference of ColorScheme since most widgets will need a reference to the style they should use. BaseWidget can be implemented either with a BaseWidget parent (which will copy the ColorScheme reference from the parent) or with a normal QWidget parent and an explicit ColorScheme reference. Save main window geometry on close Fix font changing in the Settings Dialog Update settings library version
This commit is contained in:
@@ -1,20 +1,8 @@
|
||||
#include "application.hpp"
|
||||
#include "channelmanager.hpp"
|
||||
#include "colorscheme.hpp"
|
||||
#include "emojis.hpp"
|
||||
#include "emotemanager.hpp"
|
||||
#include "ircmanager.hpp"
|
||||
#include "logging/loggingmanager.hpp"
|
||||
#include "resources.hpp"
|
||||
#include "settingsmanager.hpp"
|
||||
#include "widgets/mainwindow.hpp"
|
||||
#include "windowmanager.hpp"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
#include <QDir>
|
||||
#include <QStandardPaths>
|
||||
#include <boost/signals2.hpp>
|
||||
#include <pajlada/settings/settingmanager.hpp>
|
||||
|
||||
namespace {
|
||||
@@ -67,10 +55,6 @@ int main(int argc, char *argv[])
|
||||
return 1;
|
||||
}
|
||||
|
||||
chatterino::logging::init();
|
||||
chatterino::SettingsManager::getInstance().load();
|
||||
chatterino::Emojis::loadEmojis();
|
||||
|
||||
int ret = 0;
|
||||
|
||||
{
|
||||
@@ -83,8 +67,6 @@ int main(int argc, char *argv[])
|
||||
// Application will go out of scope here and deinitialize itself
|
||||
}
|
||||
|
||||
chatterino::SettingsManager::getInstance().save();
|
||||
|
||||
// Save settings
|
||||
pajlada::Settings::SettingManager::save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user