summaryrefslogtreecommitdiff
path: root/plugingui/button.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-06 20:07:50 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-06 20:07:50 +0100
commite3ad180e9452be85ff35a10b4bb4a0dbf1ac11b4 (patch)
treef642b6f5cb61b6e8c85250ab317640ef384d810b /plugingui/button.h
parent15f98dfc9858cd11d616cf1dfdd1a1e50a7a48db (diff)
Make destructors virtual as appropriate.
Diffstat (limited to 'plugingui/button.h')
-rw-r--r--plugingui/button.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/button.h b/plugingui/button.h
index f409a55..04656ba 100644
--- a/plugingui/button.h
+++ b/plugingui/button.h
@@ -40,7 +40,7 @@ namespace GUI {
class Button : public Widget {
public:
Button(Widget *parent);
- ~Button();
+ virtual ~Button();
// From Widget:
bool isFocusable() override { return true; }