Skip to content
Snippets Groups Projects
Commit 86d841b6 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

rm debug messages

parent 80a5b02b
No related branches found
No related tags found
1 merge request!2689Cleanup: rm unused old code and debug messages
Pipeline #152637 passed
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment