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>
This commit is contained in:
Tomaz Canabrava 2014-07-15 15:39:13 -03:00 committed by Dirk Hohndel
parent a502958a66
commit 887f9e63c3
3 changed files with 28 additions and 3 deletions

View file

@ -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);