MidiPort: subscribe writable rather than readable port when settings

When loading MidiPort settings, erroneously readable port was subscribed rather
than writable port. This commit fixes the issue.
(cherry picked from commit d981b32480)
This commit is contained in:
Tobias Doerffel
2009-03-14 19:09:46 +01:00
parent 8bfcadfcaf
commit 49ffdcd5bc

View File

@@ -266,7 +266,7 @@ void midiPort::loadSettings( const QDomElement & _this )
{
if( it.value() != ( wp.indexOf( it.key() ) != -1 ) )
{
subscribeReadablePort( it.key() );
subscribeWritablePort( it.key() );
}
}
emit writablePortsChanged();