summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-12-15 18:05:49 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-12-15 18:05:49 (GMT)
commit97d0ba731e46d2e79d40dc34a2a43c96d6951969 (patch)
tree5b4aa8d5b53c7a563e4eb6bc69cbb10e75165c1a
parent233ab2f1878e84fcfc3a8735a9bf1e37643ac17d (diff)
downloadDoxygen-97d0ba731e46d2e79d40dc34a2a43c96d6951969.zip
Doxygen-97d0ba731e46d2e79d40dc34a2a43c96d6951969.tar.gz
Doxygen-97d0ba731e46d2e79d40dc34a2a43c96d6951969.tar.bz2
Recent file list of doxywizard not cleared properly
Only half of the items in the list of recently loaded configuration files were removed, (One notices this e.g. after clearing the list, leave the wizard, start wizard and look in the recent loaded files list)
-rwxr-xr-xaddon/doxywizard/doxywizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp
index 7b6aeb0..eff99d6 100755
--- a/addon/doxywizard/doxywizard.cpp
+++ b/addon/doxywizard/doxywizard.cpp
@@ -388,7 +388,7 @@ void MainWindow::clearRecent()
m_recentFiles.clear();
for (int i=0;i<MAX_RECENT_FILES;i++)
{
- m_settings.setValue(QString::fromLatin1("recent/config%1").arg(i++),QString::fromLatin1(""));
+ m_settings.setValue(QString::fromLatin1("recent/config%1").arg(i),QString::fromLatin1(""));
}
m_clearRecent->setEnabled(false);
m_recentMenu->setEnabled(false);