tests: Fix overloaded signal "parentChanged()"

This commit is contained in:
Sergio Martins
2021-01-08 18:24:51 +00:00
parent 39c3e4fd13
commit c73c26e5cb
4 changed files with 8 additions and 2 deletions

View File

@@ -784,7 +784,12 @@ void DockWidgetBase::Private::show()
void DockWidgetBase::onParentChanged()
{
#ifdef KDDOCKWIDGETS_QTWIDGETS
// TODO: In v1.4, remove this part and use the signal emitting the arg
Q_EMIT parentChanged();
#else
Q_EMIT parentChanged(this);
#endif
d->updateToggleAction();
d->updateFloatAction();
}