Added missing slot for network manger state change event
This commit is contained in:
parent
5bca63e2de
commit
431107c91e
@ -780,6 +780,11 @@ void NetworkManager::onServiceUnregistered()
|
||||
deinit();
|
||||
}
|
||||
|
||||
void NetworkManager::onStateChanged(const uint &state)
|
||||
{
|
||||
setState(static_cast<NetworkManagerState>(state));
|
||||
}
|
||||
|
||||
void NetworkManager::onDeviceAdded(const QDBusObjectPath &deviceObjectPath)
|
||||
{
|
||||
if (m_networkDevices.keys().contains(deviceObjectPath)) {
|
||||
|
||||
@ -187,6 +187,7 @@ private slots:
|
||||
void onServiceRegistered();
|
||||
void onServiceUnregistered();
|
||||
|
||||
void onStateChanged(const uint &state);
|
||||
void onDeviceAdded(const QDBusObjectPath &deviceObjectPath);
|
||||
void onDeviceRemoved(const QDBusObjectPath &deviceObjectPath);
|
||||
void onPropertiesChanged(const QVariantMap &properties);
|
||||
|
||||
Reference in New Issue
Block a user