code: Small cleanups and fixes to lambda captures (#6191)

Co-authored-by: v1993 <v19930312@gmail.com>
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
This commit is contained in:
Tobias
2022-12-17 16:04:10 +01:00
committed by GitHub
parent 9d5ae8e1c2
commit cb82ffbe20
6 changed files with 17 additions and 8 deletions

View File

@@ -30,12 +30,12 @@ Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
ui->setupUi(this);
// setup the watcher for background connections
watcher = new QFutureWatcher<void>;
watcher = new QFutureWatcher<void>(this);
model = new QStandardItemModel(ui->room_list);
// Create a proxy to the game list to get the list of games owned
game_list = new QStandardItemModel;
game_list = new QStandardItemModel(this);
UpdateGameList(list);
proxy = new LobbyFilterProxyModel(this, game_list);