fixed hide/show column

This commit is contained in:
csoler 2019-08-03 21:07:48 +02:00
parent 47bee5198c
commit ee678889a3
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
3 changed files with 73 additions and 39 deletions

View file

@ -112,9 +112,9 @@ FriendsDialog::FriendsDialog(QWidget *parent)
// load settings
RsAutoUpdatePage::lockAllEvents();
ui.friendList->setColumnVisible(NewFriendList::COLUMN_LAST_CONTACT, false);
ui.friendList->setColumnVisible(NewFriendList::COLUMN_IP, false);
ui.friendList->setColumnVisible(NewFriendList::COLUMN_ID, false);
ui.friendList->setColumnVisible(RsFriendListModel::COLUMN_THREAD_LAST_CONTACT, false);
ui.friendList->setColumnVisible(RsFriendListModel::COLUMN_THREAD_IP, false);
ui.friendList->setColumnVisible(RsFriendListModel::COLUMN_THREAD_ID, false);
ui.friendList->setShowGroups(true);
processSettings(true);
RsAutoUpdatePage::unlockAllEvents();