summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tablemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tablemodel.h')
-rw-r--r--src/gui/widgets/tablemodel.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/tablemodel.h b/src/gui/widgets/tablemodel.h
index 427b8bf3a..7d7daacb9 100644
--- a/src/gui/widgets/tablemodel.h
+++ b/src/gui/widgets/tablemodel.h
@@ -57,10 +57,6 @@ public:
class TableModel
{
public:
- TableModel() :
- listeners()
- {
- }
virtual ~TableModel()
{ }
@@ -95,6 +91,11 @@ public:
virtual void removeListener(TableModelListener *const listener);
protected:
+ TableModel() :
+ listeners()
+ {
+ }
+
/**
* Tells all listeners that the table is about to see an update
*/