This commit is contained in:
Martchus 2017-03-01 18:20:14 +01:00
parent 12133a26fd
commit ad6f040881
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ set(META_APP_AUTHOR "Martchus")
set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
set(META_APP_DESCRIPTION "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models")
set(META_VERSION_MAJOR 5)
set(META_VERSION_MINOR 4)
set(META_VERSION_MINOR 5)
set(META_VERSION_PATCH 1)
set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH})

View File

@ -90,7 +90,7 @@ void RecentMenuManager::addEntry(const QString &path)
}
}
if(!entry) {
// remove old entries to have never more then 10 entries
// remove old entries to have never more than 10 entries
for(int i = existingEntries.size() - 1; i > 8; --i) {
delete existingEntries[i];
}