mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Save all settings in talkfile dialog.
Save settings that haven't been and rename the configuration file value for the talked folder. Since the folder was replaced with a list we can't use the old value anymore so there's no need to keep a name that's not really suitable anymore. Solves FS#12634. Change-Id: I8db2a536409b94c45f28db9418a11f11f57dfacb
This commit is contained in:
parent
a9217bde27
commit
537dfe482f
5 changed files with 65 additions and 28 deletions
|
|
@ -27,7 +27,7 @@ class RbSettings : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
|
||||
//! All user settings
|
||||
enum UserSettings {
|
||||
RbutilVersion,
|
||||
|
|
@ -42,7 +42,14 @@ class RbSettings : public QObject
|
|||
Language,
|
||||
Tts,
|
||||
UseTtsCorrections,
|
||||
LastTalkedFolder,
|
||||
TalkFolders,
|
||||
TalkProcessFiles,
|
||||
TalkProcessFolders,
|
||||
TalkRecursive,
|
||||
TalkSkipExisting,
|
||||
TalkStripExtensions,
|
||||
TalkIgnoreFiles,
|
||||
TalkIgnoreWildcards,
|
||||
VoiceLanguage,
|
||||
TtsLanguage,
|
||||
TtsOptions,
|
||||
|
|
@ -61,7 +68,7 @@ class RbSettings : public QObject
|
|||
EncoderQuality,
|
||||
EncoderVolume,
|
||||
};
|
||||
|
||||
|
||||
//! call this to flush the user Settings
|
||||
static void sync();
|
||||
//! returns the filename of the usersettings file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue