summaryrefslogtreecommitdiffstats
path: root/qt-models/cylindermodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-03 18:52:17 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-11 20:37:09 -0800
commit190a2a876e3fe3148c6cfce87ac630f251833066 (patch)
tree560473d8debc387f039456233c851b67bc98c3e9 /qt-models/cylindermodel.h
parent6622f42aab937e72cc11cb5512012394aa687767 (diff)
downloadsubsurface-190a2a876e3fe3148c6cfce87ac630f251833066.tar.gz
Planner: make cylinder-model subobject of planner-model
The cylinder-model had an instance() function, but actually there were two cylinder models: one used by the equipment tab, one used by the planner. This is misleading. Therefore, remove the instance() function and make the cylinder-model a subobject of the planner-model. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/cylindermodel.h')
-rw-r--r--qt-models/cylindermodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-models/cylindermodel.h b/qt-models/cylindermodel.h
index 66f51acca..9534af8ad 100644
--- a/qt-models/cylindermodel.h
+++ b/qt-models/cylindermodel.h
@@ -61,7 +61,6 @@ class CylindersModelFiltered : public QSortFilterProxyModel {
Q_OBJECT
public:
CylindersModelFiltered(QObject *parent = 0);
- static CylindersModelFiltered *instance();
CylindersModel *model(); // Access to unfiltered base model
void clear();