Skip to content
Snippets Groups Projects
Commit 00f68d7c authored by Emmanuel Lepage Vallee's avatar Emmanuel Lepage Vallee
Browse files

account: Fix possible endless recursion

Regressed in 8a9d261c

Refs #68325
parent 9364c775
Branches
Tags
No related merge requests found
...@@ -144,7 +144,7 @@ Account* AvailableAccountModelPrivate::firstRegisteredAccount(URI::SchemeType ty ...@@ -144,7 +144,7 @@ Account* AvailableAccountModelPrivate::firstRegisteredAccount(URI::SchemeType ty
) )
return current; return current;
} }
return firstRegisteredAccount(); //We need one return nullptr;
} }
QItemSelectionModel* AvailableAccountModel::selectionModel() const QItemSelectionModel* AvailableAccountModel::selectionModel() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment