raw -> smart pointer for musredit where it makes sence.
This commit is contained in:
@@ -219,8 +219,7 @@ PDefaultPaths::PDefaultPaths() : QObject()
|
||||
*/
|
||||
PChangeDefaultPathsDialog::PChangeDefaultPathsDialog()
|
||||
{
|
||||
fDefaultPath = 0;
|
||||
fDefaultPath = new PDefaultPaths();
|
||||
fDefaultPath = std::make_unique<PDefaultPaths>();
|
||||
if (!fDefaultPath->isValid())
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user