diff options
Diffstat (limited to 'qt-models/divecomputermodel.cpp')
-rw-r--r-- | qt-models/divecomputermodel.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-models/divecomputermodel.cpp b/qt-models/divecomputermodel.cpp index 8cc87a2a7..b83679a03 100644 --- a/qt-models/divecomputermodel.cpp +++ b/qt-models/divecomputermodel.cpp @@ -89,14 +89,6 @@ bool DiveComputerModel::setData(const QModelIndex &index, const QVariant &value, return true; } -void DiveComputerModel::remove(const QModelIndex &index) -{ - int row = index.row(); - if (row < 0 || row >= (int)device_table.devices.size()) - return; - Command::removeDevice(index.row()); -} - // Convenience function to access alternative columns static QString getData(const QModelIndex &idx, int col) { |