diff options
Diffstat (limited to 'qt-models/cylindermodel.cpp')
-rw-r--r-- | qt-models/cylindermodel.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index 62f9118f1..d76cdb344 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -636,21 +636,11 @@ void CylindersModelFiltered::clear() source.clear(); } -void CylindersModelFiltered::add() -{ - source.add(); -} - CylindersModel *CylindersModelFiltered::model() { return &source; } -void CylindersModelFiltered::remove(QModelIndex index) -{ - source.remove(mapToSource(index)); -} - bool CylindersModelFiltered::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const { return prefs.display_unused_tanks || source.cylinderUsed(source_row); |