From 017cd024ec6a09b02df55530cd52734412f31f2f Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sat, 24 Mar 2012 20:23:48 +0100 Subject: [PATCH] avoid compiler warning over polymorphic destructor --- src/dialogs/checkdlg.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/dialogs/checkdlg.h b/src/dialogs/checkdlg.h index 3f39295..5297bc7 100644 --- a/src/dialogs/checkdlg.h +++ b/src/dialogs/checkdlg.h @@ -26,6 +26,8 @@ class MCheckItem MCheckItem(QString key=QString(),bool isset=false,QString label=QString()) {m_key=key;m_set=isset;if(label!="")m_label=label;else m_label=m_key;} + virtual ~MCheckItem(){} + /**overwrite this to return a label that can be displayed*/ virtual QString label()const{return m_label;} /**overwrite this to return a key string that identifies the item (default implementation returns the label)*/ -- 1.7.2.5