fixed settings not saving

This commit is contained in:
fourtf 2017-01-24 16:44:54 +01:00
parent 9041dbf014
commit ad4c2901af

View file

@ -10,12 +10,13 @@ Settings Settings::instance;
Settings::Settings()
: settings(
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation),
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) +
"/Chatterino/newsettings.ini",
QSettings::IniFormat)
, portable(false)
, wordTypeMask(messages::Word::Default)
, theme(this->settingsItems, "theme", "dark")
, user(this->settingsItems, "userNotSureWhatThisMaybeOAuthOrSomething", "")
, user(this->settingsItems, "selectedUser", "")
, emoteScale(this->settingsItems, "emoteScale", 1.0)
, scaleEmotesByLineHeight(this->settingsItems, "scaleEmotesByLineHeight",
false)