raw -> smart pointer for musredit where it makes sence.

This commit is contained in:
2023-10-21 22:33:19 +02:00
parent be29e55834
commit 89146f3cee
12 changed files with 70 additions and 92 deletions

View File

@@ -219,8 +219,7 @@ PDefaultPaths::PDefaultPaths() : QObject()
*/
PChangeDefaultPathsDialog::PChangeDefaultPathsDialog()
{
fDefaultPath = 0;
fDefaultPath = new PDefaultPaths();
fDefaultPath = std::make_unique<PDefaultPaths>();
if (!fDefaultPath->isValid())
return;