gui: chatlobbywidget: not expand public 'chat rooms' anymore at program start

This commit is contained in:
chelovechishko 2022-04-05 01:16:07 +09:00
parent 9b9ad5666a
commit 4f13ba089c

View File

@ -170,7 +170,10 @@ ChatLobbyWidget::ChatLobbyWidget(QWidget *parent, Qt::WindowFlags flags)
publicLobbyItem->setData(COLUMN_DATA, ROLE_PRIVACYLEVEL, CHAT_LOBBY_PRIVACY_LEVEL_PUBLIC);
ui.lobbyTreeWidget->insertTopLevelItem(3, publicLobbyItem);
ui.lobbyTreeWidget->expandAll();
ui.lobbyTreeWidget->expandItem(privateSubLobbyItem);
ui.lobbyTreeWidget->expandItem(publicSubLobbyItem);
ui.lobbyTreeWidget->expandItem(privateLobbyItem);
// ui.lobbyTreeWidget->expandItem(publicLobbyItem);
ui.lobbyTreeWidget->setColumnHidden(COLUMN_NAME,false) ;
ui.lobbyTreeWidget->setColumnHidden(COLUMN_USER_COUNT,true) ;
ui.lobbyTreeWidget->setColumnHidden(COLUMN_TOPIC,true) ;