From e3ad180e9452be85ff35a10b4bb4a0dbf1ac11b4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 6 Dec 2016 20:07:50 +0100 Subject: Make destructors virtual as appropriate. --- plugingui/button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/button.h') 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; } -- cgit v1.2.3