mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -04:00
Moved the chat lobby tabs to the FriendsDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4811 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1ec716175b
commit
912e5339ca
12 changed files with 73 additions and 101 deletions
|
@ -300,11 +300,7 @@ MessagesDialog::MessagesDialog(QWidget *parent)
|
|||
ui.messagestreeView->installEventFilter(this);
|
||||
|
||||
// remove close button of the the first tab
|
||||
QTabBar::ButtonPosition buttonPosition = (QTabBar::ButtonPosition) ui.tabWidget->tabBar()->style()->styleHint(QStyle::SH_TabBar_CloseButtonPosition, 0, 0);
|
||||
QWidget *tabButton = ui.tabWidget->tabBar()->tabButton(0, buttonPosition);
|
||||
if (tabButton) {
|
||||
tabButton->hide();
|
||||
}
|
||||
ui.tabWidget->hideCloseButton(0);
|
||||
|
||||
/* Hide platform specific features */
|
||||
#ifdef Q_WS_WIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue