Enough controller stuff for tonight
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1025 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
1 parent
f2d2420fc7
commit
836cb05316
6 files changed
+14
-5
No files matched your search
@@ -49,7 +49,11 @@ controller::controller( ControllerTypes _type, model * _parent ) :
|
||||
m_type( _type )
|
||||
{
|
||||
if( _type != DummyController )
|
||||
{
|
||||
s_controllers.append( this );
|
||||
m_name = QString( tr( "Controller %1" ) )
|
||||
.arg( s_controllers.size() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -186,7 +190,7 @@ void controller::loadSettings( const QDomElement & _this )
|
||||
"settings-node!\n" );
|
||||
}
|
||||
|
||||
setName( _this.attribute( "muted" ) );
|
||||
setName( _this.attribute( "name" ) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user