rename setting keys

This commit is contained in:
dries.k
2022-04-05 12:55:35 +02:00
parent baefe5cac5
commit e5ce9f6201
5 changed files with 10 additions and 20 deletions

View File

@@ -6,9 +6,8 @@ from ..__version__ import __title__
DEFAULT_SETTINGS = {
"message/check_missed/notify": True,
"message/last_id": 0,
"logging/level": "Disabled",
"settings/export_path": os.path.join(
"export/path": os.path.join(
Path.home(), f"{__title__.replace(' ', '-').lower()}-settings.bytes"
),
"shortcuts/quit": "Ctrl+Q",

View File

@@ -23,8 +23,8 @@ class Settings(QtCore.QSettings):
for key in self.allKeys()
if not ( # skip settings that might not translate well between platforms
isinstance(self.value(key), QtCore.QByteArray)
or key == "settings/export_path"
or key == "message/last_id"
or key == "export/path"
or key == "message/last"
)
}