Commit ee5f74b7 authored by Claudio Valerio's avatar Claudio Valerio

wording

parent 872cdcf5
......@@ -359,7 +359,7 @@ bool UBGraphicsItemDelegate::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
return false;
}
bool UBGraphicsItemDelegate::weelEvent(QGraphicsSceneWheelEvent *event)
bool UBGraphicsItemDelegate::wheelEvent(QGraphicsSceneWheelEvent *event)
{
Q_UNUSED(event);
if( delegated()->isSelected() )
......
......@@ -247,7 +247,7 @@ class UBGraphicsItemDelegate : public QObject
virtual bool mousePressEvent(QGraphicsSceneMouseEvent *event);
virtual bool mouseMoveEvent(QGraphicsSceneMouseEvent *event);
virtual bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
virtual bool weelEvent(QGraphicsSceneWheelEvent *event);
virtual bool wheelEvent(QGraphicsSceneWheelEvent *event);
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
......
......@@ -125,7 +125,7 @@ void UBGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void UBGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent *event)
{
if( Delegate()->weelEvent(event) )
if( Delegate()->wheelEvent(event) )
{
QGraphicsProxyWidget::wheelEvent(event);
event->accept();
......
......@@ -149,7 +149,6 @@ qreal UBZLayerController::changeZLevelTo(QGraphicsItem *item, moveDestination de
if (mScene->items().count()) {
foreach (QGraphicsItem *tmpItem, mScene->items()) {
if (typeForData(tmpItem) == curItemLayerType) {
sortedItems.insert(tmpItem->data(UBGraphicsItemData::ItemOwnZValue).toReal(), tmpItem);
}
}
......@@ -335,7 +334,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
}
// Just for debug. Do not delete please
connect(this, SIGNAL(selectionChanged()), this, SLOT(selectionChangedProcessing()));
// connect(this, SIGNAL(selectionChanged()), this, SLOT(selectionChangedProcessing()));
connect(this, SIGNAL(selectionChanged()), this, SLOT(updateGroupButtonState()));
connect(UBApplication::undoStack.data(), SIGNAL(indexChanged(int)), this, SLOT(updateSelectionFrameWrapper(int)));
}
......
......@@ -617,7 +617,7 @@ void UBGraphicsWidgetItem::mainFrameLoadFinished (bool ok)
void UBGraphicsWidgetItem::wheelEvent(QGraphicsSceneWheelEvent *event)
{
if (Delegate()->weelEvent(event))
if (Delegate()->wheelEvent(event))
{
QGraphicsWebView::wheelEvent(event);
event->accept();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment