diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2025-01-11 01:45:28 -0600 |
|---|---|---|
| committer | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2025-01-11 01:45:28 -0600 |
| commit | 4dae73c848bba1e44abf5a37d41034ded25cf28a (patch) | |
| tree | 886200422f94d81563b3a3359e05858a7d7be078 /src/lobby.cpp | |
| parent | 115c1ccd1dc64fceb8a165965ef172dd8812cf85 (diff) | |
use std::as_const instead of qAsConst
Diffstat (limited to 'src/lobby.cpp')
| -rw-r--r-- | src/lobby.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp index f19845fa..202cab7d 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -466,7 +466,7 @@ void Lobby::list_servers() ui_serverlist_search->setText(""); int i = 0; - for (const ServerInfo &i_server : qAsConst(ao_app->get_server_list())) + for (const ServerInfo &i_server : std::as_const(ao_app->get_server_list())) { QTreeWidgetItem *treeItem = new QTreeWidgetItem(ui_serverlist_tree); treeItem->setData(0, Qt::DisplayRole, i); |
