Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
vite
Commits
409dd977
Commit
409dd977
authored
Mar 03, 2018
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor
parent
c67ed79a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/common/Session.cpp
src/common/Session.cpp
+2
-2
No files found.
src/common/Session.cpp
View file @
409dd977
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment