mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed settings not saving
This commit is contained in:
parent
9041dbf014
commit
ad4c2901af
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue