mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove ununsed variables
The warnings are distracting - and the variables are truly obsolete by now. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0e9cd09442
commit
962abba1f7
2 changed files with 0 additions and 2 deletions
|
@ -481,7 +481,6 @@ QStringList& DivePlannerPointsModel::getGasList()
|
||||||
|
|
||||||
void DivePlannerGraphics::prepareSelectGas()
|
void DivePlannerGraphics::prepareSelectGas()
|
||||||
{
|
{
|
||||||
QStringListModel *model = qobject_cast<QStringListModel*>(gasListView->model());
|
|
||||||
currentGasChoice = static_cast<Button*>(sender());
|
currentGasChoice = static_cast<Button*>(sender());
|
||||||
QPoint c = QCursor::pos();
|
QPoint c = QCursor::pos();
|
||||||
gasListView->setGeometry(c.x(), c.y(), 150, 100);
|
gasListView->setGeometry(c.x(), c.y(), 150, 100);
|
||||||
|
|
|
@ -509,7 +509,6 @@ void MainTab::acceptChanges()
|
||||||
// now make sure the selection logic is in a sane state
|
// 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
|
// 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
|
// unselectDives() doesn't mess with the dive_table at all
|
||||||
struct dive *addedDive = current_dive;
|
|
||||||
mainWindow()->dive_list()->unselectDives();
|
mainWindow()->dive_list()->unselectDives();
|
||||||
mainWindow()->dive_list()->selectDive(selected_dive, true, true);
|
mainWindow()->dive_list()->selectDive(selected_dive, true, true);
|
||||||
mainWindow()->showProfile();
|
mainWindow()->showProfile();
|
||||||
|
|
Loading…
Add table
Reference in a new issue