refactor: Remove most raw accesses into Application (#5104)

This commit is contained in:
pajlada
2024-01-19 17:59:55 +01:00
committed by GitHub
parent 326a402710
commit 4380ef8c5f
82 changed files with 552 additions and 452 deletions
+3 -3
View File
@@ -26,8 +26,8 @@ AccountsPage::AccountsPage()
EditableModelView *view =
layout
.emplace<EditableModelView>(app->accounts->createModel(nullptr),
false)
.emplace<EditableModelView>(
app->getAccounts()->createModel(nullptr), false)
.getElement();
view->getTableView()->horizontalHeader()->setVisible(false);
@@ -63,7 +63,7 @@ AccountsPage::AccountsPage()
// return;
// }
// getApp()->accounts->Twitch.removeUser(selectedUser);
// getIApp()->getAccounts()->Twitch.removeUser(selectedUser);
// });
}