diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-08-19 21:53:25 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-27 11:40:45 -0700 |
commit | 83236f7e9e9842cd895432d5b9762216ffbe2c64 (patch) | |
tree | 15757d42abc2e0c8e8363fa9d74a6f16342c9ce2 /desktop-widgets/divelistview.cpp | |
parent | a1b22797cac64925cd8a8a06b176aa40b99c1fc1 (diff) | |
download | subsurface-83236f7e9e9842cd895432d5b9762216ffbe2c64.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/divelistview.cpp')
-rw-r--r-- | desktop-widgets/divelistview.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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; |