Fix -Woverloaded-virtual

This commit is contained in:
Sergio Martins
2020-11-26 14:52:04 +00:00
parent 598fbdc51b
commit a0fb47af58
6 changed files with 14 additions and 14 deletions

View File

@@ -186,7 +186,7 @@ void DockWidgetBase::addDockWidgetAsTab(DockWidgetBase *other, AddingOption addi
Frame *frame = this->frame();
if (frame) {
if (frame->contains(other)) {
if (frame->containsDockWidget(other)) {
qWarning() << Q_FUNC_INFO << "Already contains" << other;
return;
}