Removed unnecessary comments.

preferencesAboutTextFull
Yimgo 12 years ago
parent 81c834f39e
commit 9d18db6d37
  1. 8
      src/domain/UBGraphicsWebView.cpp
  2. 1
      src/domain/UBGraphicsWebView.h

@ -150,11 +150,3 @@ void UBGraphicsWebView::remove()
if (mDelegate) if (mDelegate)
mDelegate->remove(true); mDelegate->remove(true);
} }
/*bool UBGraphicsWebView::event(QEvent *event)
{
if (event->type() == QEvent::ShortcutOverride)
event->accept();
return QGraphicsWebView::event(event);
}*/

@ -54,7 +54,6 @@ class UBGraphicsWebView: public QGraphicsWebView, public UBItem, public UBResiza
virtual void wheelEvent(QGraphicsSceneWheelEvent *event); virtual void wheelEvent(QGraphicsSceneWheelEvent *event);
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event); virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
//virtual bool event(QEvent *event);
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value); virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);
}; };

Loading…
Cancel
Save