Qt: Ensure non-present MRU items are removed (fixes #2000)
Vicki Pfau vi@endrift.com
Sat, 02 Jan 2021 20:39:58 -0800
1 files changed,
3 insertions(+),
0 deletions(-)
M
src/platform/qt/ConfigController.cpp
→
src/platform/qt/ConfigController.cpp
@@ -272,6 +272,9 @@ if (i >= MRU_LIST_SIZE) {
break; } } + for (; i < MRU_LIST_SIZE; ++i) { + m_settings->remove(QString::number(i)); + } m_settings->endGroup(); }