Do not prompt to use previous version settings when newer version

This commit is contained in:
elecpower
2021-12-31 10:53:11 +01:00
committed by Raphael Coeffic
parent e64f57768a
commit 7648dfc544
2 changed files with 9 additions and 15 deletions
+1 -1
View File
@@ -471,7 +471,7 @@ void AppData::clearUnusedSettings(QSettings & settings)
bool AppData::findPreviousVersionSettings(QString * version) const
{
// TODO need a more dynamic method since ETX moves so quickly
static const QStringList versList({QStringLiteral("2.5"), QStringLiteral("2.4")});
static const QStringList versList({QStringLiteral("2.6"), QStringLiteral("2.5"), QStringLiteral("2.4")});
for (const QString &ver : versList) {
const QString prod("Companion " % ver);