aboutsummaryrefslogtreecommitdiffstats
path: root/divecomputer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'divecomputer.cpp')
-rw-r--r--divecomputer.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/divecomputer.cpp b/divecomputer.cpp
index f427bd42c..daea390c2 100644
--- a/divecomputer.cpp
+++ b/divecomputer.cpp
@@ -79,13 +79,6 @@ void DiveComputerList::addDC(const QString &m, uint32_t d, const QString &n, con
dcMap.insert(m, newNode);
}
-void DiveComputerList::rmDC(const QString &m, uint32_t d)
-{
- const DiveComputerNode *existNode = this->getExact(m, d);
- dcMap.remove(m, *existNode);
-}
-
-
extern "C" void create_device_node(const char *model, uint32_t deviceid, const char *serial, const char *firmware, const char *nickname)
{
dcList.addDC(model, deviceid, nickname, serial, firmware);