Fixed the brush initialization.
The brushes are now initialized as solid colored, in order to fix drawing problems.
This commit is contained in:
@@ -847,7 +847,9 @@ void trackContentObjectView::setAutoResizeEnabled( bool _e )
|
||||
*/
|
||||
trackContentWidget::trackContentWidget( trackView * _parent ) :
|
||||
QWidget( _parent ),
|
||||
m_trackView( _parent )
|
||||
m_trackView( _parent ),
|
||||
m_darkerColor( Qt::SolidPattern ),
|
||||
m_lighterColor( Qt::SolidPattern )
|
||||
{
|
||||
setAcceptDrops( true );
|
||||
|
||||
|
||||
@@ -98,9 +98,9 @@ AutomationEditor::AutomationEditor() :
|
||||
m_editMode( DRAW ),
|
||||
m_scrollBack( FALSE ),
|
||||
m_gridColor( 0,0,0 ),
|
||||
m_graphColor(),
|
||||
m_graphColor( Qt::SolidPattern ),
|
||||
m_vertexColor( 0,0,0 ),
|
||||
m_scaleColor()
|
||||
m_scaleColor( Qt::SolidPattern )
|
||||
{
|
||||
connect( this, SIGNAL( currentPatternChanged() ),
|
||||
this, SLOT( updateAfterPatternChange() ),
|
||||
|
||||
Reference in New Issue
Block a user