From 526a511f455234152ca9b5bc8c60d3c82cbfa417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 4 Jul 2015 20:02:43 +0200 Subject: GH-1053 move instance update into the launch task (BaseLauncher) --- application/ConsoleWindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/ConsoleWindow.h') 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 proc, QWidget *parent = 0); virtual ~ConsoleWindow(); /** @@ -56,7 +56,7 @@ protected: void closeEvent(QCloseEvent *); private: - BaseLauncher *m_proc = nullptr; + std::shared_ptr m_proc; bool m_mayclose = true; QSystemTrayIcon *m_trayIcon = nullptr; PageContainer *m_container = nullptr; -- cgit v1.2.3