Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
86d841b6
Commit
86d841b6
authored
8 months ago
by
Mikhail Svechnikov
Browse files
Options
Downloads
Patches
Plain Diff
rm debug messages
parent
80a5b02b
No related branches found
No related tags found
1 merge request
!2689
Cleanup: rm unused old code and debug messages
Pipeline
#152637
passed
8 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/View/Main/ProjectManager.cpp
+0
-8
0 additions, 8 deletions
GUI/View/Main/ProjectManager.cpp
with
0 additions
and
8 deletions
GUI/View/Main/ProjectManager.cpp
+
0
−
8
View file @
86d841b6
...
...
@@ -183,11 +183,8 @@ void ProjectManager::openProject(QString projectPullPath)
}
createNewProject
();
std
::
cout
<<
"ProjectManager::openProject 6"
<<
std
::
endl
;
loadProject
(
projectPullPath
);
std
::
cout
<<
"ProjectManager::openProject 7"
<<
std
::
endl
;
emit
documentOpenedOrClosed
(
true
);
std
::
cout
<<
"ProjectManager::openProject 8"
<<
std
::
endl
;
}
//! Calls dialog window to define project path and name.
...
...
@@ -209,17 +206,12 @@ void ProjectManager::loadProject(const QString& fullPathAndName)
if
(
qApp
)
QApplication
::
setOverrideCursor
(
Qt
::
WaitCursor
);
if
(
useAutosave
&&
restoreProjectDialog
(
fullPathAndName
,
autosaveFullPath
))
{
std
::
cout
<<
"ProjectManager::loadProject with autosave 1"
<<
std
::
endl
;
gDoc
->
loadProjectFileWithData
(
autosaveFullPath
);
std
::
cout
<<
"ProjectManager::loadProject with autosave 2"
<<
std
::
endl
;
gDoc
->
setProjectFullPath
(
fullPathAndName
);
std
::
cout
<<
"ProjectManager::loadProject with autosave 3"
<<
std
::
endl
;
// restored project should be marked by '*'
gDoc
->
setModified
();
}
else
{
std
::
cout
<<
"ProjectManager::loadProject without autosave 4"
<<
std
::
endl
;
gDoc
->
loadProjectFileWithData
(
fullPathAndName
);
std
::
cout
<<
"ProjectManager::loadProject without autosave 5"
<<
std
::
endl
;
}
if
(
qApp
)
QApplication
::
restoreOverrideCursor
();
...
...
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