diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2021-01-18 14:10:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-18 23:10:45 +0300 |
| commit | d41ec17fe72dbcf1b5277ab7b33b6374a9fb9e60 (patch) | |
| tree | b3f39b340886d98acc7925cda0c0db7535df19ed /src/lobby.cpp | |
| parent | d8dd429c201100c743a52224cb7f36e73d164e11 (diff) | |
Add a new "char_list" QTreeWidget that allows for categorizing characters (#399)
* initial commit
* use a "category" value instead
* add filtering and taken indicator
* hide serverlist header
* set the items to disabled in place of the [X] text
Co-authored-by: stonedDiscord <10584181+stonedDiscord@users.noreply.github.com>
Diffstat (limited to 'src/lobby.cpp')
| -rw-r--r-- | src/lobby.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp index f1a61f4c..4528dc72 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -29,6 +29,7 @@ Lobby::Lobby(AOApplication *p_ao_app) : QMainWindow() ui_server_list = new QTreeWidget(this); ui_server_list->setHeaderLabels({"#", "Name"}); //, "Players"}); ui_server_list->hideColumn(0); + ui_server_list->setHeaderHidden(true); ui_server_search = new QLineEdit(this); ui_server_search->setFrame(false); |
