| 463 | } |
| 464 | |
| 465 | void UBGraphicsWidgetItem::updatePosition() |
| 466 | { |
| 467 | // partial workaround for QTBUG-109068 to forward the position of the item |
| 468 | // on the scene to the QWebEngineView |
| 469 | QSize actualSize = size().toSize(); |
| 470 | mWebEngineView->resize(actualSize - QSize(1,1)); |
| 471 | mWebEngineView->resize(actualSize); |
| 472 | } |
| 473 | |
| 474 | void UBGraphicsWidgetItem::setSnapshot(const QPixmap& pix, bool frozen) |
| 475 | { |
no test coverage detected