mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace cleanup
Plus removal of a few qDebug() calls I introduced earlier. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4559a26e31
commit
b2f4896f3c
7 changed files with 394 additions and 410 deletions
|
|
@ -10,24 +10,23 @@
|
|||
|
||||
#include "libxml/xmlreader.h"
|
||||
|
||||
class ConfigureDiveComputer : public QObject
|
||||
{
|
||||
class ConfigureDiveComputer : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ConfigureDiveComputer();
|
||||
void readSettings(device_data_t *data);
|
||||
|
||||
enum states {
|
||||
INITIAL,
|
||||
READING,
|
||||
WRITING,
|
||||
RESETTING,
|
||||
FWUPDATE,
|
||||
CANCELLING,
|
||||
CANCELLED,
|
||||
ERROR,
|
||||
DONE,
|
||||
};
|
||||
INITIAL,
|
||||
READING,
|
||||
WRITING,
|
||||
RESETTING,
|
||||
FWUPDATE,
|
||||
CANCELLING,
|
||||
CANCELLED,
|
||||
ERROR,
|
||||
DONE,
|
||||
};
|
||||
|
||||
QString lastError;
|
||||
states currentState;
|
||||
|
|
@ -50,7 +49,8 @@ private:
|
|||
ResetSettingsThread *resetThread;
|
||||
FirmwareUpdateThread *firmwareThread;
|
||||
void setState(states newState);
|
||||
private slots:
|
||||
private
|
||||
slots:
|
||||
void readThreadFinished();
|
||||
void writeThreadFinished();
|
||||
void resetThreadFinished();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue