Commit ba142dd7 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix build

Reviewers: jgrulich

Reviewed By: jgrulich

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24910
parent f301f1ea
......@@ -606,14 +606,13 @@ void NetworkModel::activeConnectionStateChanged(NetworkManager::ActiveConnection
if (!activePtr)
return;
for (NetworkModelItem *item : m_list.returnItems(NetworkItemsList::ActiveConnection, activePtr->path())) {
item->setConnectionState(state);
item->invalidateDetails();
int row = m_list.indexOf(item);
Q_EMIT dataChanged(index(row, 0), index(row, 0));
for (NetworkModelItem *item : m_list.returnItems(NetworkItemsList::ActiveConnection, activePtr->path())) {
item->setConnectionState(state);
item->invalidateDetails();
int row = m_list.indexOf(item);
Q_EMIT dataChanged(index(row, 0), index(row, 0));
qCDebug(PLASMA_NM) << "Item " << item->name() << ": active connection changed to " << item->connectionState();
}
qCDebug(PLASMA_NM) << "Item " << item->name() << ": active connection changed to " << item->connectionState();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment