Merge pull request #1470 from ranft/bugfix-brush-initialization

Bugfix brush initialization
This commit is contained in:
Vesa V
2014-12-23 19:26:16 +02:00
3 changed files with 7 additions and 4 deletions

View File

@@ -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 );

View File

@@ -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() ),

View File

@@ -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 )
{