Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLMC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michał Trzebiatowski
VLMC
Commits
58b56799
Commit
58b56799
authored
14 years ago
by
Hugo Beauzée-Luyssen
Browse files
Options
Downloads
Patches
Plain Diff
ProjectManager: Don't add a project that fail to load to the "recent projects" list
parent
4635b6de
No related branches found
Branches containing commit
Tags
0.1.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Project/ProjectManager.cpp
+3
-3
3 additions, 3 deletions
src/Project/ProjectManager.cpp
with
3 additions
and
3 deletions
src/Project/ProjectManager.cpp
+
3
−
3
View file @
58b56799
...
...
@@ -79,6 +79,8 @@ void ProjectManager::loadTimeline()
SettingsManager
::
getInstance
()
->
load
(
root
);
emit
projectUpdated
(
projectName
(),
true
);
emit
projectLoaded
();
if
(
m_projectFile
!=
NULL
)
appendToRecentProject
(
m_projectFile
->
fileName
()
);
delete
m_domDocument
;
}
...
...
@@ -98,9 +100,7 @@ void ProjectManager::loadProject( const QString& fileName )
#ifdef WITH_GUI
m_needSave
=
false
;
#endif
if
(
ProjectManager
::
isBackupFile
(
fileName
)
==
false
)
appendToRecentProject
(
QFileInfo
(
*
m_projectFile
).
absoluteFilePath
()
);
else
if
(
ProjectManager
::
isBackupFile
(
fileName
)
==
true
)
{
//Delete the project file representation, so the next time the user
//saves its project, vlmc will ask him where to save it.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment