w3c widgets workaround

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent f49e2fa75e
commit 3e5e946a3c
  1. 3
      src/domain/UBGraphicsWidgetItem.cpp

@ -563,6 +563,9 @@ void UBGraphicsWidgetItem::injectInlineJavaScript()
void UBGraphicsWidgetItem::paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
if(!scene() || !scene()->renderingContext())
return;
if (scene()->renderingContext() != UBGraphicsScene::Screen)
{
painter->drawPixmap(0, 0, snapshot());

Loading…
Cancel
Save