Removed unneeded functions

This commit is contained in:
Uwe Kindler
2020-02-13 13:04:08 +01:00
parent a4ef161f4f
commit 5b60e39ed3
3 changed files with 0 additions and 28 deletions

View File

@@ -397,7 +397,6 @@ void CDockAreaWidget::insertDockWidget(int index, CDockWidget* DockWidget,
bool Activate)
{
d->ContentsLayout->insertWidget(index, DockWidget);
DockWidget->tabWidget()->setDockAreaWidget(this);
auto TabWidget = DockWidget->tabWidget();
// Inserting the tab will change the current index which in turn will
// make the tab widget visible in the slot