diff options
Diffstat (limited to 'src/libs/gui/ConnectWindow.hpp')
-rw-r--r-- | src/libs/gui/ConnectWindow.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/gui/ConnectWindow.hpp b/src/libs/gui/ConnectWindow.hpp index 53d0ccd5..d8635804 100644 --- a/src/libs/gui/ConnectWindow.hpp +++ b/src/libs/gui/ConnectWindow.hpp @@ -53,7 +53,7 @@ public: void set_connected_to(SharedPtr<Shared::EngineInterface> engine); void start(Ingen::Shared::World* world); - void response_ok_received(int32_t id) { if ((id) == _ping_id) _attached = true; } + void response_ok_received(int32_t id) { if (id == _ping_id) _attached = true; } private: enum Mode { CONNECT_REMOTE, LAUNCH_REMOTE, INTERNAL }; @@ -65,6 +65,7 @@ private: void disconnect(); void connect(); void quit(); + void on_hide(); bool gtk_callback(); |