mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Cleaned up a few more ScopedPointer uses
This commit is contained in:
parent
3f565bf81f
commit
33c0940d74
15 changed files with 129 additions and 155 deletions
|
|
@ -162,7 +162,7 @@ void MainWindow::setProject (Project* newProject)
|
|||
{
|
||||
createProjectContentCompIfNeeded();
|
||||
getProjectContentComponent()->setProject (newProject);
|
||||
currentProject = newProject;
|
||||
currentProject.reset (newProject);
|
||||
|
||||
if (currentProject != nullptr)
|
||||
projectNameValue.referTo (currentProject->getProjectValue (Ids::name));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue