summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/configure_general.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/citra_qt/configure_general.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/citra_qt/configure_general.h b/src/citra_qt/configure_general.h
index 0f3b69332..a6c68e62d 100644
--- a/src/citra_qt/configure_general.h
+++ b/src/citra_qt/configure_general.h
@@ -2,9 +2,9 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#ifndef CONFIGURE_GENERAL_H
-#define CONFIGURE_GENERAL_H
+#pragma once
+#include <memory>
#include <QWidget>
namespace Ui {
@@ -16,7 +16,7 @@ class ConfigureGeneral : public QWidget
Q_OBJECT
public:
- explicit ConfigureGeneral(QWidget *parent = 0);
+ explicit ConfigureGeneral(QWidget *parent = nullptr);
~ConfigureGeneral();
void applyConfiguration();
@@ -25,7 +25,5 @@ private:
void setConfiguration();
private:
- Ui::ConfigureGeneral *ui;
+ std::unique_ptr<Ui::ConfigureGeneral> ui;
};
-
-#endif // CONFIGURE_GENERAL_H