Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 409dd977 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Minor

parent c67ed79a
No related branches found
No related tags found
1 merge request!7Mv/history
......@@ -189,9 +189,9 @@ void Session::add_recent_file(const QString &filename) {
// We delete if the file was already call in order to be on the top of the list
files.removeAll(filename);
files.prepend(filename);
while (files.size() > _MAX_NB_RECENT_FILES)
while (files.size() > _MAX_NB_RECENT_FILES) {
files.removeLast();
}
S->setValue(RECENT_FILES, files);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment