Use midiPort's loadSettings()/saveSettings() API.
Changed MidiControlListener to use the built-in API to save and restore the midiPort configuration instead and removed the old iterator. Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
This commit is contained in:
committed by
Tobias Doerffel
parent
555d589354
commit
227de591bd
@@ -134,6 +134,11 @@ public:
|
||||
m_controlKeyCount = 0;
|
||||
}
|
||||
|
||||
inline midiPort * getMidiPort( void )
|
||||
{
|
||||
return &m_port;
|
||||
}
|
||||
|
||||
private:
|
||||
static const QString configClass;
|
||||
static QDomElement s_configTree;
|
||||
|
||||
Reference in New Issue
Block a user