diff options
Diffstat (limited to 'src/electronics/simulation/elementset.cpp')
-rw-r--r-- | src/electronics/simulation/elementset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electronics/simulation/elementset.cpp b/src/electronics/simulation/elementset.cpp index 25057c2..8a0adc9 100644 --- a/src/electronics/simulation/elementset.cpp +++ b/src/electronics/simulation/elementset.cpp @@ -87,7 +87,7 @@ void ElementSet::setCacheInvalidated() void ElementSet::addElement( Element *e ) { - if ( !e || m_elementList.contains(e) ) return; + if ( !e || m_elementList.tqcontains(e) ) return; e->setElementSet(this); m_elementList.append(e); if ( e->isNonLinear() ) |