Commit f94242bc authored by Emmanuel Lepage's avatar Emmanuel Lepage

Fix "unregistered account" bug (I hope so)

parent d637c499
...@@ -98,6 +98,8 @@ SFLPhoneView::SFLPhoneView(QWidget *parent) ...@@ -98,6 +98,8 @@ SFLPhoneView::SFLPhoneView(QWidget *parent)
this, SLOT(updateStatusMessage())); this, SLOT(updateStatusMessage()));
connect(CallView::getAccountList(), SIGNAL(accountListUpdated()), connect(CallView::getAccountList(), SIGNAL(accountListUpdated()),
this, SLOT(updateWindowCallState())); this, SLOT(updateWindowCallState()));
CallView::getAccountList()->updateAccounts();
} }
......
...@@ -106,7 +106,7 @@ Account* AccountList::firstRegisteredAccount() const ...@@ -106,7 +106,7 @@ Account* AccountList::firstRegisteredAccount() const
return current; return current;
} }
else { else {
qDebug() << "Account " << current->getAccountId() << " is not registered"; qDebug() << "Account " << current->getAccountId() << " is not registered (" << current->getAccountDetail(ACCOUNT_STATUS) << ")";
} }
} }
return NULL; return NULL;
......
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