summaryrefslogtreecommitdiffstats
path: root/application/ConsoleWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/ConsoleWindow.h')
-rw-r--r--application/ConsoleWindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/ConsoleWindow.h b/application/ConsoleWindow.h
index a5e9c3a4..33ae67c7 100644
--- a/application/ConsoleWindow.h
+++ b/application/ConsoleWindow.h
@@ -26,7 +26,7 @@ class ConsoleWindow : public QMainWindow
Q_OBJECT
public:
- explicit ConsoleWindow(BaseLauncher *proc, QWidget *parent = 0);
+ explicit ConsoleWindow(std::shared_ptr<BaseLauncher> proc, QWidget *parent = 0);
virtual ~ConsoleWindow();
/**
@@ -56,7 +56,7 @@ protected:
void closeEvent(QCloseEvent *);
private:
- BaseLauncher *m_proc = nullptr;
+ std::shared_ptr<BaseLauncher> m_proc;
bool m_mayclose = true;
QSystemTrayIcon *m_trayIcon = nullptr;
PageContainer *m_container = nullptr;