diff options
Diffstat (limited to 'network/network.h')
-rw-r--r-- | network/network.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/network.h b/network/network.h index 0c0418b..0a158ec 100644 --- a/network/network.h +++ b/network/network.h @@ -44,11 +44,11 @@ class Network : public QObject Q_PROPERTY(bool wifiConnected READ wifiConnected NOTIFY wifiConnectedChanged) Q_PROPERTY(bool wifiEnabled READ wifiEnabled NOTIFY wifiEnabledChanged) - Q_PROPERTY(bool wifiStrength READ wifiStrength NOTIFY wifiStrengthChanged) + Q_PROPERTY(int wifiStrength READ wifiStrength NOTIFY wifiStrengthChanged) bool wifiConnected() const { return m_wifiConnected; } bool wifiEnabled() const { return m_wifiEnabled; } - bool wifiStrength() const { return m_wifiStrength; } + int wifiStrength() const { return m_wifiStrength; } signals: void inputRequest(int id); |