diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 19:06:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 19:06:25 +0200 |
commit | 04b4d70f38402b1e4e4751157f42eb558bd60f9c (patch) | |
tree | 7046ce56d1fb498f5e8720c5fb59ae9895fecb39 /src/gui/Window.hpp | |
parent | 394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff) | |
download | ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2 ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip |
Use override specifiers
Diffstat (limited to 'src/gui/Window.hpp')
-rw-r--r-- | src/gui/Window.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/Window.hpp b/src/gui/Window.hpp index 6bf5e586..5f839578 100644 --- a/src/gui/Window.hpp +++ b/src/gui/Window.hpp @@ -37,7 +37,7 @@ public: virtual void init_window(App& app) { _app = &app; } - bool on_key_press_event(GdkEventKey* event) { + bool on_key_press_event(GdkEventKey* event) override { if (event->keyval == GDK_w && event->state & GDK_CONTROL_MASK) { hide(); return true; @@ -61,7 +61,7 @@ public: virtual void init_dialog(App& app) { _app = &app; } - bool on_key_press_event(GdkEventKey* event) { + bool on_key_press_event(GdkEventKey* event) override { if (event->keyval == GDK_w && event->state & GDK_CONTROL_MASK) { hide(); return true; |