MidiPortMenu: minor coding style fixes

This commit is contained in:
Tobias Doerffel
2009-03-14 19:06:06 +01:00
parent c24b923b78
commit bd9be061a0

View File

@@ -59,7 +59,7 @@ void midiPortMenu::modelChanged( void )
else if( m_mode == midiPort::Output )
{
connect( mp, SIGNAL( writablePortsChanged() ),
this, SLOT( updatePorts() ) );
this, SLOT( updatePorts() ) );
}
updatePorts();
}
@@ -94,7 +94,7 @@ void midiPortMenu::updatePorts( void )
it != map.end(); ++it )
{
QAction * a = addAction( it.key() );
a->setCheckable( TRUE );
a->setCheckable( true );
a->setChecked( it.value() );
}
}