Move update_1_2_0() functionality into upgrade_1_1_90();
Next release candidate will be named 1.1.90
This commit is contained in:
@@ -258,7 +258,6 @@ private:
|
||||
~ConfigManager();
|
||||
|
||||
void upgrade_1_1_90();
|
||||
void upgrade_1_2_0();
|
||||
void upgrade();
|
||||
|
||||
const QString m_lmmsRcFile;
|
||||
|
||||
@@ -111,10 +111,7 @@ void ConfigManager::upgrade_1_1_90()
|
||||
{
|
||||
setValue("mixer", "audiodev", "PulseAudio");
|
||||
}
|
||||
}
|
||||
|
||||
void ConfigManager::upgrade_1_2_0()
|
||||
{
|
||||
// MidiAlsaRaw used to store the device info as "Device" instead of "device"
|
||||
if ( value( "MidiAlsaRaw", "device" ).isNull() )
|
||||
{
|
||||
@@ -130,6 +127,7 @@ void ConfigManager::upgrade_1_2_0()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ConfigManager::upgrade()
|
||||
{
|
||||
// Skip the upgrade if versions match
|
||||
@@ -144,11 +142,6 @@ void ConfigManager::upgrade()
|
||||
{
|
||||
upgrade_1_1_90();
|
||||
}
|
||||
|
||||
if ( createdWith.setCompareType(Build) < "1.2.0" )
|
||||
{
|
||||
upgrade_1_2_0();
|
||||
}
|
||||
|
||||
// Don't use old themes as they break the UI (i.e. 0.4 != 1.0, etc)
|
||||
if ( createdWith.setCompareType(Minor) != LMMS_VERSION )
|
||||
|
||||
Reference in New Issue
Block a user