Commit 61e35f00 authored by Àlex Fiestas's avatar Àlex Fiestas
Browse files

Added missing emit defaultChanged

parent 17302b2b
......@@ -140,6 +140,7 @@ void Manager::Private::_k_adapterAdded(const QDBusObjectPath &objectPath)
m_adaptersHash.insert(objectPath.path(), adapter);
if (!m_defaultAdapter) {
m_defaultAdapter = adapter;
emit m_q->defaultAdapterChanged(m_defaultAdapter);
if (!m_usableAdapter || !m_usableAdapter->isPowered()) {
Adapter *const oldUsableAdapter = m_usableAdapter;
Supports Markdown
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