Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
334c2c75
Commit
334c2c75
authored
Dec 16, 2009
by
Hugo Beauzee-Luyssen
Browse files
Minor improvements with project manager and saved state
parent
14466318
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Project/ProjectManager.cpp
View file @
334c2c75
...
...
@@ -122,11 +122,10 @@ void ProjectManager::loadProject( const QString& fileName )
m_projectFile
->
open
(
QFile
::
ReadOnly
);
m_domDocument
->
setContent
(
m_projectFile
);
m_projectFile
->
close
();
m_needSave
=
false
;
if
(
ProjectManager
::
isBackupFile
(
fileName
)
==
false
)
{
appendToRecentProject
(
fileName
);
}
else
{
//Delete the project file representation, so the next time the user
...
...
@@ -214,7 +213,7 @@ void ProjectManager::newProject( const QString &projectName )
if
(
closeProject
()
==
false
)
return
;
m_projectName
=
projectName
;
emit
projectUpdated
(
m_projectName
,
tru
e
);
emit
projectUpdated
(
m_projectName
,
fals
e
);
}
bool
ProjectManager
::
closeProject
()
...
...
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