| 549 | if (widget) |
| 550 | { |
| 551 | auto originWidget = d->_routeMap[nodeKey]; |
| 552 | int currentIndex = d->_navigationCenterStackedWidget->getContainerStackedWidget()->currentIndex(); |
| 553 | int originIndex = d->_navigationCenterStackedWidget->getContainerStackedWidget()->indexOf(originWidget); |
| 554 | widget->setProperty("ElaPageKey", nodeKey); |
| 555 | d->_routeMap[nodeKey] = widget; |
| 556 | d->_navigationCenterStackedWidget->getContainerStackedWidget()->insertWidget(originIndex, widget); |
| 557 | d->_navigationCenterStackedWidget->getContainerStackedWidget()->setCurrentIndex(currentIndex); |
| 558 | d->_navigationCenterStackedWidget->getContainerStackedWidget()->removeWidget(originWidget); |
nothing calls this directly
no outgoing calls
no test coverage detected