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:
Tobias Doerffel
2005-12-16 13:00:00 +00:00
parent bcef7b0b82
commit f700c16c33
5 changed files with 12 additions and 7 deletions

View File

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

View File

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