Settings update: Some code cleanup

The only block of code that I removed here is because the
QSettings preferences that is being read is the exact one
that we populate on the prefs.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-08-19 21:53:25 -03:00 committed by Dirk Hohndel
parent a1b22797ca
commit 83236f7e9e
2 changed files with 1 additions and 7 deletions

View file

@ -906,7 +906,6 @@ void DiveListView::contextMenuEvent(QContextMenuEvent *event)
event->accept();
}
void DiveListView::shiftTimes()
{
ShiftTimesDialog::instance()->show();
@ -950,7 +949,6 @@ void DiveListView::loadWebImages()
if (!urlDialog.exec())
return;
loadImageFromURL(QUrl::fromUserInput(urlDialog.url()));
}
void DiveListView::loadImageFromURL(QUrl url)
@ -993,11 +991,8 @@ void DiveListView::loadImageFromURL(QUrl url)
matchImagesToDives(QStringList(url.toString()));
}
}
}
QString DiveListView::lastUsedImageDir()
{
QSettings settings;