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:
Achim Settelmeier
2009-05-31 01:44:48 +02:00
committed by Tobias Doerffel
parent 555d589354
commit 227de591bd
2 changed files with 12 additions and 19 deletions

View File

@@ -134,6 +134,11 @@ public:
m_controlKeyCount = 0;
}
inline midiPort * getMidiPort( void )
{
return &m_port;
}
private:
static const QString configClass;
static QDomElement s_configTree;