Fix tab auto-hiding to work with Qt < 5.4.

This commit is contained in:
Neel Patel
2016-01-26 10:03:15 +00:00
committed by Dave Page
parent 39e822e846
commit d6d8a2348e
2 changed files with 8 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ TabWindow::TabWindow(QWidget *parent) :
#endif
// Hide the default tab
tabBar()->setAutoHide(true);
tabBar()->setVisible(false);
}
// Hide the close button of given index displayed on right side of tab