Unverified Commit 9354ee2c authored by Sébastien Blin's avatar Sébastien Blin
Browse files

accountModel: do not throw in Qt slot

Change-Id: I373a34fca57ba4876f0c6f27a07d9bff0b3c0234
parent 475d0885
......@@ -475,7 +475,8 @@ NewAccountModelPimpl::slotVolatileAccountDetailsChanged(const std::string& accou
{
auto account = accounts.find(accountId);
if (account == accounts.end()) {
throw std::out_of_range("NewAccountModelPimpl::slotVolatileAccountDetailsChanged, can't find " + accountId);
qWarning() << "NewAccountModelPimpl::slotVolatileAccountDetailsChanged, can't find " << accountId.c_str();
return;
}
auto& accountInfo = account->second.first;
......
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