This commit is contained in:
Sergio Martins
2020-04-27 23:16:03 +01:00
parent 4dc0da5e75
commit 3326429c05
2 changed files with 1 additions and 4 deletions

View File

@@ -136,9 +136,6 @@ void DropArea::debug_updateItemNamesForGammaray()
frame->setObjectName(frame->dockWidgets().at(0)->uniqueName());
}
}
for (Anchor *a : m_layout->anchors())
a->debug_updateItemNames();
}
bool DropArea::checkSanity()

View File

@@ -2203,7 +2203,7 @@ void ItemContainer::updateSeparators()
newSeparators.push_back(separator);
m_separators.removeOne(separator);
} else {
separator = new Anchor(m_orientation, Anchor::Option::None, hostWidget());
separator = new Anchor(this, m_orientation, Anchor::Option::None, hostWidget());
newSeparators.push_back(separator);
}
separator->setGeometry(position, pos2, oppositeLength());