stable backport of various fixes from trunk

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1972 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2009-01-27 00:21:37 +00:00
parent 4fefc16f4b
commit 8b3d3f33a7
6 changed files with 20 additions and 5 deletions

View File

@@ -474,7 +474,7 @@ void knob::mousePressEvent( QMouseEvent * _me )
void knob::mouseMoveEvent( QMouseEvent * _me )
{
if( m_buttonPressed == TRUE )
if( m_buttonPressed == TRUE && _me->pos() != m_origMousePos )
{
setPosition( _me->pos() );
emit sliderMoved( model()->value() );

View File

@@ -455,7 +455,7 @@ void bbTrack::loadTrackSpecificSettings( const QDomElement & _this )
if( _this.hasAttribute( "clonebbt" ) )
{
const int src = _this.attribute( "clonebb" ).toInt();
const int src = _this.attribute( "clonebbt" ).toInt();
const int dst = s_infoMap[this];
engine::getBBTrackContainer()->createTCOsForBB( dst );
trackContainer::trackList tl =