mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add support to reset OSTC3 settings to default
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d63a3ce420
commit
74f27a0a39
7 changed files with 97 additions and 1 deletions
|
@ -55,4 +55,19 @@ private:
|
|||
QString m_fileName;
|
||||
};
|
||||
|
||||
class ResetSettingsThread : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ResetSettingsThread(QObject *parent, device_data_t *data);
|
||||
virtual void run();
|
||||
QString lastError;
|
||||
signals:
|
||||
void progress(int percent);
|
||||
void message(QString msg);
|
||||
void error(QString err);
|
||||
private:
|
||||
device_data_t *m_data;
|
||||
};
|
||||
|
||||
#endif // CONFIGUREDIVECOMPUTERTHREADS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue