X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.cpp;h=04ee15f566ce28564b7c2d42254daa967b90cb1f;hp=f7c77240664574ba0935a7d9fe373440707214d9;hb=98144aaad0cd747f186edcd0e36a1d67326ac766;hpb=e2188dc438be6f3eb0d9cdf47d28821aefe9835e diff --git a/src/client/coreaccountmodel.cpp b/src/client/coreaccountmodel.cpp index f7c77240..04ee15f5 100644 --- a/src/client/coreaccountmodel.cpp +++ b/src/client/coreaccountmodel.cpp @@ -250,7 +250,7 @@ QModelIndex CoreAccountModel::accountIndex(AccountId accId) const if (_accounts.at(i).accountId() == accId) return index(i, 0); } - return QModelIndex(); + return {}; }