fixed settings not saving
This commit is contained in:
+3
-2
@@ -10,12 +10,13 @@ Settings Settings::instance;
|
|||||||
|
|
||||||
Settings::Settings()
|
Settings::Settings()
|
||||||
: settings(
|
: settings(
|
||||||
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation),
|
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) +
|
||||||
|
"/Chatterino/newsettings.ini",
|
||||||
QSettings::IniFormat)
|
QSettings::IniFormat)
|
||||||
, portable(false)
|
, portable(false)
|
||||||
, wordTypeMask(messages::Word::Default)
|
, wordTypeMask(messages::Word::Default)
|
||||||
, theme(this->settingsItems, "theme", "dark")
|
, theme(this->settingsItems, "theme", "dark")
|
||||||
, user(this->settingsItems, "userNotSureWhatThisMaybeOAuthOrSomething", "")
|
, user(this->settingsItems, "selectedUser", "")
|
||||||
, emoteScale(this->settingsItems, "emoteScale", 1.0)
|
, emoteScale(this->settingsItems, "emoteScale", 1.0)
|
||||||
, scaleEmotesByLineHeight(this->settingsItems, "scaleEmotesByLineHeight",
|
, scaleEmotesByLineHeight(this->settingsItems, "scaleEmotesByLineHeight",
|
||||||
false)
|
false)
|
||||||
|
|||||||
Reference in New Issue
Block a user