From 962abba1f7f09f5d5b87e952e442589c0fced64b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 17 Nov 2013 14:36:37 -0800 Subject: Remove ununsed variables The warnings are distracting - and the variables are truly obsolete by now. Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 1 - qt-ui/maintab.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 09bef08e8..fad3080fd 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -481,7 +481,6 @@ QStringList& DivePlannerPointsModel::getGasList() void DivePlannerGraphics::prepareSelectGas() { - QStringListModel *model = qobject_cast(gasListView->model()); currentGasChoice = static_cast(sender()); QPoint c = QCursor::pos(); gasListView->setGeometry(c.x(), c.y(), 150, 100); diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 7c5e7ade6..16350f709 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -509,7 +509,6 @@ void MainTab::acceptChanges() // now make sure the selection logic is in a sane state // it's ok to hold on to the dive pointer for this short stretch of code // unselectDives() doesn't mess with the dive_table at all - struct dive *addedDive = current_dive; mainWindow()->dive_list()->unselectDives(); mainWindow()->dive_list()->selectDive(selected_dive, true, true); mainWindow()->showProfile(); -- cgit v1.2.3-70-g09d2