Raw -> Smart Pointers for musredit qt5.
This commit is contained in:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user