We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 568221a commit e0f12eaCopy full SHA for e0f12ea
redis-desktop-manager/source/widgets/MainTabsWidget.cpp
@@ -10,16 +10,6 @@ MainTabsWidget::MainTabsWidget(QWidget * parent)
10
11
int MainTabsWidget::addTab(QWidget*w, const QIcon&i, const QString &label)
12
{
13
-#ifndef Q_OS_DARWIN
14
- //hide close button for first tab
15
- // on Mac Os this code crash application
16
- if (count() == 0) {
17
- int currentIndex = QTabWidget::addTab(w, i, label);
18
- tabBar()->tabButton(0, QTabBar::RightSide)->setFixedWidth(0);
19
- return currentIndex;
20
- }
21
-#endif
22
-
23
return QTabWidget::addTab(w, i, label);
24
}
25
0 commit comments