summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/CopyInstanceDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialogs/CopyInstanceDialog.h')
-rw-r--r--gui/dialogs/CopyInstanceDialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/dialogs/CopyInstanceDialog.h b/gui/dialogs/CopyInstanceDialog.h
index 7ab366e2..95f4bf6c 100644
--- a/gui/dialogs/CopyInstanceDialog.h
+++ b/gui/dialogs/CopyInstanceDialog.h
@@ -17,6 +17,7 @@
#include <QDialog>
#include "logic/BaseVersion.h"
+#include <logic/BaseInstance.h>
class BaseInstance;
@@ -30,7 +31,7 @@ class CopyInstanceDialog : public QDialog
Q_OBJECT
public:
- explicit CopyInstanceDialog(BaseInstance *original, QWidget *parent = 0);
+ explicit CopyInstanceDialog(InstancePtr original, QWidget *parent = 0);
~CopyInstanceDialog();
void updateDialogState();
@@ -46,5 +47,5 @@ slots:
private:
Ui::CopyInstanceDialog *ui;
QString InstIconKey;
- BaseInstance *m_original;
+ InstancePtr m_original;
};