fixing issue 40: first try

preferencesAboutTextFull
-f 11 years ago
parent 88921fbb77
commit c8145a6e30
  1. 7
      src/domain/UBGraphicsWidgetItem.cpp

@ -565,12 +565,9 @@ void UBGraphicsWidgetItem::injectInlineJavaScript()
void UBGraphicsWidgetItem::paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
if (scene() && scene()->renderingContext() != UBGraphicsScene::Screen) {
painter->drawPixmap(0, 0, snapshot());
}
else {
QGraphicsWebView::paint(painter, option, widget);
}
if (!mInitialLoadDone) {
QString message;

Loading…
Cancel
Save