mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 08:35:45 -04:00
Add Message set HideTabBarWithOneTab
This commit is contained in:
parent
ad1672a0a4
commit
d4010dd8d9
1 changed files with 3 additions and 2 deletions
|
@ -242,8 +242,9 @@ MessagesDialog::MessagesDialog(QWidget *parent)
|
||||||
|
|
||||||
//ui.messageTreeWidget->installEventFilter(this);
|
//ui.messageTreeWidget->installEventFilter(this);
|
||||||
|
|
||||||
// remove close button of the the first tab
|
// remove close button of the the first tab
|
||||||
ui.tabWidget->hideCloseButton(0);
|
ui.tabWidget->hideCloseButton(0);
|
||||||
|
ui.tabWidget->setHideTabBarWithOneTab(true);
|
||||||
|
|
||||||
int S = QFontMetricsF(font()).height();
|
int S = QFontMetricsF(font()).height();
|
||||||
QString help_str = tr(
|
QString help_str = tr(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue