From 83236f7e9e9842cd895432d5b9762216ffbe2c64 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 19 Aug 2016 21:53:25 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- desktop-widgets/divelistview.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'desktop-widgets/divelistview.cpp') diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index 0aea54f2a..0c1ea91e7 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -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; -- cgit v1.2.3-70-g09d2