mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
8e8d226f57
commit
91ccd89048
2 changed files with 44 additions and 43 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue