mirror of
https://github.com/YACReader/yacreader
synced 2026-01-22 16:03:00 -05:00
Replace magic number for open recent length with config setting (no gui yet, maybe later)
This commit is contained in:
@ -71,7 +71,7 @@ void Configuration::updateOpenRecentList (QString path)
|
||||
list.removeAll(path);
|
||||
list.prepend(path);
|
||||
//TODO: Make list lenght configurable
|
||||
while (list.length() > 25)
|
||||
while (list.length() > getOpenRecentSize())
|
||||
{
|
||||
list.removeLast();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user