Rename "addWidget" to "addTab"

This commit is contained in:
Sergio Martins
2022-07-31 23:03:16 +01:00
parent 45ad75fcd4
commit e4b2d37f96
8 changed files with 26 additions and 26 deletions

View File

@@ -222,7 +222,7 @@ void KDDockWidgets::Tests::moveMouseTo(QPoint globalDest, View *receiver)
void KDDockWidgets::Tests::nestDockWidget(Controllers::DockWidget *dock, DropArea *dropArea, Controllers::Group *relativeTo, Location location)
{
auto group = new Controllers::Group();
group->addWidget(dock);
group->addTab(dock);
dock->d->group()->setObjectName(dock->objectName());
dropArea->addWidget(group->view(), location, relativeTo);