feat(overlays)!: redefine in terms of createThings

This commit is contained in:
reo101 2024-08-04 03:10:58 +03:00
parent 7cf980d913
commit 51e8fafec6
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
6 changed files with 149 additions and 92 deletions

View file

@ -0,0 +1,19 @@
diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp
index 9e2fd11..3965913 100644
--- a/launcher/minecraft/auth/AccountList.cpp
+++ b/launcher/minecraft/auth/AccountList.cpp
@@ -657,13 +657,7 @@ void AccountList::setListFilePath(QString path, bool autosave)
bool AccountList::anyAccountIsValid()
{
- for(auto account: m_accounts)
- {
- if(account->ownsMinecraft()) {
- return true;
- }
- }
- return false;
+ return true;
}
void AccountList::fillQueue() {