diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-05-21 10:18:57 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-05-21 10:19:53 -0400 |
| commit | 7287c7edca7a3e14302cd68b9df3943f0a15f657 (patch) | |
| tree | c0833a9d9e18b4c28bb6a35d157bcd807cb89833 /src/model/pulsemodel.cpp | |
| parent | 311b69c14203860ab6d98bd11633eea287c8f04e (diff) | |
wall werr whatever
Diffstat (limited to 'src/model/pulsemodel.cpp')
| -rw-r--r-- | src/model/pulsemodel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/model/pulsemodel.cpp b/src/model/pulsemodel.cpp index de91831..8d03a6a 100644 --- a/src/model/pulsemodel.cpp +++ b/src/model/pulsemodel.cpp @@ -574,11 +574,10 @@ void PulseModel::customEvent( TQCustomEvent *e ) PulseDevice *dev = findDevice( *list, ev->paIndex ); if ( dev ) { // Remove from name maps if present. - TQMap<TQString,PulseDevice*>::Iterator it; - for ( it = m_sinksByName.begin(); it != m_sinksByName.end(); ++it ) { + for ( TQMap<TQString,PulseDevice*>::Iterator it = m_sinksByName.begin(); it != m_sinksByName.end(); ++it ) { if ( it.data() == dev ) { m_sinksByName.remove(it); break; } } - for ( it = m_sourcesByName.begin(); it != m_sourcesByName.end(); ++it ) { + for ( TQMap<TQString,PulseDevice*>::Iterator it = m_sourcesByName.begin(); it != m_sourcesByName.end(); ++it ) { if ( it.data() == dev ) { m_sourcesByName.remove(it); break; } } // Clean up port tracking maps. |
