Merge pull request #1470 from ranft/bugfix-brush-initialization
Bugfix brush initialization
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
@@ -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() ),
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user