diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-07-15 15:39:13 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-15 17:05:38 -0700 |
commit | 887f9e63c3705df52b802420e72f5854d75c8ca6 (patch) | |
tree | ac6a1b0ac3d687c00d3f1c296fd593f300a6f985 /qt-ui/mainwindow.cpp | |
parent | a502958a66269d5febf3838d4ccd6e25e4b750a2 (diff) | |
download | subsurface-887f9e63c3705df52b802420e72f5854d75c8ca6.tar.gz |
Save and restore Dive Planner Settings
This patch adds the code that saves and restores the dive planner
settings.
Fixes #608
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index fdad2ba99..01024a580 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -797,7 +797,6 @@ void MainWindow::readSettings() default_dive_computer_product = getSetting(s, "dive_computer_product"); default_dive_computer_device = getSetting(s, "dive_computer_device"); s.endGroup(); - QNetworkProxy proxy; proxy.setType(QNetworkProxy::ProxyType(prefs.proxy_type)); proxy.setHostName(prefs.proxy_host); |