X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.cpp;h=04ee15f566ce28564b7c2d42254daa967b90cb1f;hp=f7c77240664574ba0935a7d9fe373440707214d9;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=7cf8b4e04ae10dd68d344444c49499d4f916394c 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 {}; }