Changed format of the section name in the settings file. Does not include version number anymore.

This commit is contained in:
LoRd_MuldeR 2020-04-20 01:01:37 +02:00
parent 4aabdad8dd
commit 6d64247d1e
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
#define VER_LAMEXP_MINOR_LO 9 #define VER_LAMEXP_MINOR_LO 9
#define VER_LAMEXP_TYPE Alpha #define VER_LAMEXP_TYPE Alpha
#define VER_LAMEXP_PATCH 4 #define VER_LAMEXP_PATCH 4
#define VER_LAMEXP_BUILD 2260 #define VER_LAMEXP_BUILD 2261
#define VER_LAMEXP_CONFG 2188 #define VER_LAMEXP_CONFG 2188
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -356,7 +356,7 @@ SettingsModel::SettingsModel(void)
//Create settings //Create settings
QSettings *configFile = new QSettings(configPath, QSettings::IniFormat); QSettings *configFile = new QSettings(configPath, QSettings::IniFormat);
const QString groupKey = QString().sprintf("LameXP_%u%02u%05u", lamexp_version_major(), lamexp_version_minor(), lamexp_version_confg()); const QString groupKey = QString().sprintf("LameXP.%04X", lamexp_version_confg());
const QStringList childGroups = configFile->childGroups(); const QStringList childGroups = configFile->childGroups();
//Clean-up settings //Clean-up settings