rename setting keys
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user