summaryrefslogtreecommitdiffstats
path: root/configuredivecomputer.h
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-07-06 06:53:42 +0300
committerGravatar Thiago Macieira <thiago@macieira.org>2014-08-13 10:48:15 -0700
commit91ccd890482c411c91c65a999573ba85fb28aa07 (patch)
tree9106033e25558449b28fa45c561a27f11a13c21c /configuredivecomputer.h
parent8e8d226f57eda006ee35eac128afcf882634ff01 (diff)
downloadsubsurface-91ccd890482c411c91c65a999573ba85fb28aa07.tar.gz
Use QXmlStreamReader for dive computer settings backup
This patch changes the code in the ConfigureDiveComputer class to use QXmlStreamWriter instead of an hardcoded xml structure. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'configuredivecomputer.h')
-rw-r--r--configuredivecomputer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/configuredivecomputer.h b/configuredivecomputer.h
index f64c9c95d..0cd16d311 100644
--- a/configuredivecomputer.h
+++ b/configuredivecomputer.h
@@ -47,7 +47,6 @@ private:
ReadSettingsThread *readThread;
WriteSettingsThread *writeThread;
void setState(states newState);
- QString addSettingToXML(QString settingName, QVariant value);
private slots:
void readThreadFinished();
void writeThreadFinished();