Browse Source

thermostat: settings: add missing void parameters

master
Richard Genoud 4 years ago
parent
commit
caf471ec4c
2 changed files with 5 additions and 5 deletions
  1. +3
    -3
      soft/thermostat/inc/settings.h
  2. +2
    -2
      soft/thermostat/src/settings.cpp

+ 3
- 3
soft/thermostat/inc/settings.h View File

@ -35,14 +35,14 @@ class Settings : public QSettings
Q_OBJECT
public:
static Settings *getInstance(void);
int nbZones();
int nbZones(void);
QVector<struct Room> m_rooms;
struct Brocker m_broker;
private:
Settings();
~Settings();
Settings(void);
~Settings(void);
static Settings *_singleton;
};


+ 2
- 2
soft/thermostat/src/settings.cpp View File

@ -13,7 +13,7 @@
Settings *Settings::_singleton = NULL;
Settings::Settings()
Settings::Settings(void)
{
QSettings s;
struct Room room;
@ -50,7 +50,7 @@ int Settings::nbZones(void)
return m_rooms.size();
}
Settings::~Settings()
Settings::~Settings(void)
{
}


Loading…
Cancel
Save