Instrument: return true in default implementation of handleMidiEvent()

Supress warnings about unhandled MIDI events e.g. on PianoView focus out
by returning true in Instrument::handleMidiEvent().
This commit is contained in:
Tobias Doerffel
2014-01-26 01:10:18 +01:00
parent 5808c8b786
commit c144a2baa2

View File

@@ -101,7 +101,7 @@ public:
// MIDI-events
inline virtual bool handleMidiEvent( const MidiEvent&, const MidiTime& = MidiTime() )
{
return false;
return true;
}
virtual QString fullDisplayName() const;