avoid compiler warning over polymorphic destructor
authorKonrad Rosenbaum <konrad@silmor.de>
Sat, 24 Mar 2012 19:23:48 +0000 (20:23 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Sat, 24 Mar 2012 19:23:48 +0000 (20:23 +0100)
src/dialogs/checkdlg.h

index 3f39295..5297bc7 100644 (file)
@@ -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)*/