This website works better with JavaScript.
Home
Help
Sign In
rico
/
remote_pilot_wire_mqtt
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
thermostat: settings: add missing void parameters
master
Richard Genoud
5 years ago
parent
d368a9e65d
commit
caf471ec4c
2 changed files
with
5 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
soft/thermostat/inc/settings.h
+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
)
{
}
Write
Preview
Loading…
Cancel
Save