Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -475,7 +475,8 @@ NewAccountModelPimpl::slotVolatileAccountDetailsChanged(const std::string& accou ...@@ -475,7 +475,8 @@ NewAccountModelPimpl::slotVolatileAccountDetailsChanged(const std::string& accou
{ {
auto account = accounts.find(accountId); auto account = accounts.find(accountId);
if (account == accounts.end()) { 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; auto& accountInfo = account->second.first;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment