Properly implemented flag DockAreaHasCloseButton

This commit is contained in:
Uwe Kindler
2019-09-12 21:24:48 +02:00
parent bed99eacc2
commit 2c7764ecf7
2 changed files with 6 additions and 3 deletions

View File

@@ -308,8 +308,8 @@ CMainWindow::CMainWindow(QWidget *parent) :
// Uncomment the following line to have the old style where the dock
// area close button closes the active tab
//d->DockManager->setConfigFlags({
// CDockManager::DockAreaHasCloseButton | CDockManager::DockAreaCloseButtonClosesTab});
//CDockManager::setConfigFlags({CDockManager::DockAreaHasCloseButton
// | CDockManager::DockAreaCloseButtonClosesTab});
connect(d->PerspectiveComboBox, SIGNAL(activated(const QString&)),
d->DockManager, SLOT(openPerspective(const QString&)));