Raw -> Smart Pointers for musredit qt5.

This commit is contained in:
2023-10-24 09:22:42 +02:00
parent a90af4c342
commit e376e9a2e6
10 changed files with 84 additions and 92 deletions

View File

@@ -30,6 +30,8 @@
#ifndef _PCHANGEDEFAULTPATHSDIALOG_H_
#define _PCHANGEDEFAULTPATHSDIALOG_H_
#include <memory>
#include <QDialog>
#include <QMessageBox>
#include <QXmlStreamReader>
@@ -98,7 +100,7 @@ class PChangeDefaultPathsDialog : public QDialog, private Ui::PChangeDefaultPath
void saveDefaultPathList();
private:
PDefaultPaths *fDefaultPath;
std::unique_ptr<PDefaultPaths> fDefaultPath;
};
#endif // _PCHANGEDEFAULTPATHSDIALOG_H_