diff --git a/src/core/Track.cpp b/src/core/Track.cpp index f12bdb069..5acbb6477 100644 --- a/src/core/Track.cpp +++ b/src/core/Track.cpp @@ -998,7 +998,9 @@ bool TrackContentObjectView::mouseMovedDistance( QMouseEvent * _me, int distance */ TrackContentWidget::TrackContentWidget( TrackView * _parent ) : QWidget( _parent ), - m_trackView( _parent ) + m_trackView( _parent ), + m_darkerColor( Qt::SolidPattern ), + m_lighterColor( Qt::SolidPattern ) { setAcceptDrops( true ); diff --git a/src/gui/AutomationEditor.cpp b/src/gui/AutomationEditor.cpp index dc14eca60..cb90253b4 100644 --- a/src/gui/AutomationEditor.cpp +++ b/src/gui/AutomationEditor.cpp @@ -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() ), diff --git a/src/gui/widgets/FxLine.cpp b/src/gui/widgets/FxLine.cpp index 36baa782f..8f39af38c 100644 --- a/src/gui/widgets/FxLine.cpp +++ b/src/gui/widgets/FxLine.cpp @@ -46,7 +46,8 @@ QPixmap * FxLine::s_receiveBgArrow = NULL; FxLine::FxLine( QWidget * _parent, FxMixerView * _mv, int _channelIndex) : QWidget( _parent ), m_mv( _mv ), - m_channelIndex( _channelIndex ) + m_channelIndex( _channelIndex ), + m_backgroundActive( Qt::SolidPattern ) { if( ! s_sendBgArrow ) {