Merge branch 'stable-1.2'
# Conflicts: # cmake/linux/package_linux.sh.in # data/locale/cs.ts
This commit is contained in:
@@ -204,16 +204,22 @@ void ControllerConnection::loadSettings( const QDomElement & _this )
|
||||
}
|
||||
else
|
||||
{
|
||||
if( _this.attribute( "id", "-1" ).toInt() >= 0 )
|
||||
{
|
||||
m_controllerId = _this.attribute( "id" ).toInt();
|
||||
}
|
||||
else
|
||||
m_controllerId = _this.attribute( "id", "-1" ).toInt();
|
||||
if( m_controllerId < 0 )
|
||||
{
|
||||
qWarning( "controller index invalid\n" );
|
||||
m_controllerId = -1;
|
||||
}
|
||||
m_controller = Controller::create( Controller::DummyController, NULL );
|
||||
|
||||
if (!Engine::getSong()->isLoadingProject() && m_controllerId != -1)
|
||||
{
|
||||
setController( Engine::getSong()->
|
||||
controllers().at( m_controllerId ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_controller = Controller::create( Controller::DummyController, NULL );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ SetupDialog::SetupDialog( ConfigTabs _tab_to_open ) :
|
||||
SLOT( setBufferSize( int ) ) );
|
||||
|
||||
m_bufSizeLbl = new QLabel( bufsize_tw );
|
||||
m_bufSizeLbl->setGeometry( 10, 40, 200, 24 );
|
||||
m_bufSizeLbl->setGeometry( 10, 40, 200, 32 );
|
||||
setBufferSize( m_bufSizeSlider->value() );
|
||||
|
||||
QPushButton * bufsize_reset_btn = new QPushButton(
|
||||
|
||||
Reference in New Issue
Block a user