projects
/
web/konrad/smoke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2fa3509
)
avoid compiler warning over polymorphic destructor
author
Konrad Rosenbaum
<konrad@silmor.de>
Sat, 24 Mar 2012 19:23:48 +0000 (20:23 +0100)
committer
Konrad Rosenbaum
<konrad@silmor.de>
Sat, 24 Mar 2012 19:23:48 +0000 (20:23 +0100)
src/dialogs/checkdlg.h
patch
|
blob
|
history
diff --git
a/src/dialogs/checkdlg.h
b/src/dialogs/checkdlg.h
index
3f39295
..
5297bc7
100644
(file)
--- 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)*/