mirror of https://github.com/mgba-emu/mgba.git
Qt: Ensure non-present MRU items are removed (fixes #2000)
This commit is contained in:
parent
466e0c5efa
commit
b527b7ff9b
|
@ -272,6 +272,9 @@ void ConfigController::setMRU(const QList<QString>& mru) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
for (; i < MRU_LIST_SIZE; ++i) {
|
||||
m_settings->remove(QString::number(i));
|
||||
}
|
||||
m_settings->endGroup();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue