Commit ad98f412 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix variable name for consistency

parent 099df26f
......@@ -129,7 +129,7 @@ void AbstractGraphicsMediaItem::contextMenuEvent( QGraphicsSceneContextMenuEvent
menu.addSeparator();
QAction* changeColor = menu.addAction( "Set color" );
QAction* changeColorAction = menu.addAction( "Set color" );
QAction* selectedAction = menu.exec( event->screenPos() );
......@@ -182,7 +182,7 @@ void AbstractGraphicsMediaItem::contextMenuEvent( QGraphicsSceneContextMenuEvent
item->ungroup();
}
else if ( selectedAction == changeColor )
else if ( selectedAction == changeColorAction )
{
m_itemColor = QColorDialog::getColor( m_itemColor, tracksView() );
update();
......
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