From 9f2565dfdd050c7d0d6709e08b0c68fc5dcddac9 Mon Sep 17 00:00:00 2001 From: Javier Serrano Polo Date: Sun, 3 Sep 2006 20:12:52 +0000 Subject: [PATCH] - integrated Toby's Qt4 fixes - rely on objects to set the modified flag git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@388 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/core/song_editor.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/song_editor.cpp b/src/core/song_editor.cpp index 0e96d1108..a1004a911 100644 --- a/src/core/song_editor.cpp +++ b/src/core/song_editor.cpp @@ -216,7 +216,7 @@ songEditor::songEditor( engine * _engine ) : m_masterVolumeSlider = new automatableSlider( tb, tr( "Master volume" ), eng(), m_automation_track ); - m_masterVolumeSlider->setOrientation( Vertical ); + m_masterVolumeSlider->setOrientation( Qt::Vertical ); m_masterVolumeSlider->setRange( 0, 200 ); m_masterVolumeSlider->setPageStep( 1 ); m_masterVolumeSlider->setInitValue( 100 ); @@ -254,7 +254,7 @@ songEditor::songEditor( engine * _engine ) : m_masterPitchSlider = new automatableSlider( tb, tr( "Master pitch" ), eng(), m_automation_track ); - m_masterPitchSlider->setOrientation( Vertical ); + m_masterPitchSlider->setOrientation( Qt::Vertical ); m_masterPitchSlider->setRange( -12, 12 ); m_masterPitchSlider->setPageStep( 1 ); m_masterPitchSlider->setInitValue( 0 ); @@ -634,7 +634,6 @@ void songEditor::masterVolumeChanged( int _new_val ) m_mvsStatus->setVisibilityTimeOut( 1000 ); } eng()->getMixer()->setMasterGain( _new_val / 100.0f ); - setModified(); } @@ -683,7 +682,6 @@ void songEditor::masterPitchChanged( int _new_val ) QPoint( m_masterPitchSlider->width() + 2, -2 ) ); m_mpsStatus->setVisibilityTimeOut( 1000 ); } - setModified(); }