don't use shared ptr on projects

Really unnecessary
This commit is contained in:
itsmattkc
2020-11-27 14:24:02 +11:00
parent b178dfa06e
commit f8ceefff6c
17 changed files with 86 additions and 116 deletions
+1 -1
View File
@@ -479,7 +479,7 @@ void MainWindow::ProjectCloseRequested()
ProjectPanel* panel = static_cast<ProjectPanel*>(sender());
Project* p = panel->project();
Core::instance()->CloseProject(Core::instance()->GetSharedPtrFromProject(p), true);
Core::instance()->CloseProject(p, true);
}
void MainWindow::FloatingPanelCloseRequested()