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
97110bc7
Commit
97110bc7
authored
Jun 01, 2010
by
Hugo Beauzée-Luyssen
Browse files
ProjectManager: fix inverted logic.
parent
d35e8c89
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Project/ProjectManager.cpp
View file @
97110bc7
...
...
@@ -88,7 +88,7 @@ QStringList ProjectManager::recentsProjects() const
void
ProjectManager
::
loadWorkflow
()
{
QDomElement
root
=
m_domDocument
->
documentElement
();
bool
needSav
e
;
bool
savedStat
e
;
MainWorkflow
::
getInstance
()
->
loadProject
(
root
);
loadTimeline
(
root
);
...
...
@@ -96,11 +96,11 @@ void ProjectManager::loadWorkflow()
if
(
m_projectFile
!=
NULL
)
{
appendToRecentProject
(
m_projectFile
->
fileName
()
);
needSave
=
fals
e
;
savedState
=
tru
e
;
}
else
needSave
=
tru
e
;
emit
projectUpdated
(
projectName
(),
needSav
e
);
savedState
=
fals
e
;
emit
projectUpdated
(
projectName
(),
savedStat
e
);
delete
m_domDocument
;
}
...
...
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