fixed critical bug in ALSA-driver
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@37 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -623,7 +623,7 @@ void songEditor::wheelEvent( QWheelEvent * _we )
|
||||
|
||||
void songEditor::masterVolumeChanged( int _new_val )
|
||||
{
|
||||
if( m_mvsStatus->isShown() == FALSE )
|
||||
if( m_mvsStatus->isVisible() == FALSE )
|
||||
{
|
||||
masterVolumeMoved( _new_val );
|
||||
m_mvsStatus->reparent( m_masterVolumeSlider );
|
||||
@@ -665,7 +665,7 @@ void songEditor::masterVolumeReleased( void )
|
||||
|
||||
void songEditor::masterPitchChanged( int _new_val )
|
||||
{
|
||||
if( m_mpsStatus->isShown() == FALSE )
|
||||
if( m_mpsStatus->isVisible() == FALSE )
|
||||
{
|
||||
masterPitchMoved( _new_val );
|
||||
m_mpsStatus->reparent( m_masterPitchSlider );
|
||||
|
||||
@@ -223,7 +223,7 @@ void groupBox::updatePixmap( void )
|
||||
#ifdef QT4
|
||||
QPalette pal = palette();
|
||||
pal.setBrush( backgroundRole(), QBrush( pm ) );
|
||||
pal.setColor( QPalette::Background, QColor( 96, 96, 96 ) );
|
||||
/* pal.setColor( QPalette::Background, QColor( 96, 96, 96 ) );*/
|
||||
setPalette( pal );
|
||||
#else
|
||||
setPaletteBackgroundColor( QColor( 96, 96, 96 ) );
|
||||
|
||||
Reference in New Issue
Block a user