diff options
Diffstat (limited to 'src/circuitdocument.cpp')
-rw-r--r-- | src/circuitdocument.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/circuitdocument.cpp b/src/circuitdocument.cpp index dfdf4cb..bd9ea39 100644 --- a/src/circuitdocument.cpp +++ b/src/circuitdocument.cpp @@ -295,7 +295,7 @@ void CircuitDocument::componentAdded( Item * item ) // We don't attach the component to the Simulator just yet, as the // Component's vtable is not yet fully constructed, and so Simulator can't // tell whether or not it is a logic component - if ( !m_toSimulateList.tqcontains(component) ) + if ( !m_toSimulateList.contains(component) ) m_toSimulateList << component; } @@ -512,7 +512,7 @@ void CircuitDocument::getPartition( Pin *pin, PinList *pinList, PinList *unassig unassignedPins->remove(pin); - if ( pinList->tqcontains(pin) ) + if ( pinList->contains(pin) ) return; pinList->append(pin); @@ -608,7 +608,7 @@ void CircuitDocument::recursivePinAdd( Pin *pin, Circuitoid *circuitoid, PinList if ( pin->eqId() != -1 ) unassignedPins->remove(pin); - if ( circuitoid->tqcontains(pin) ) + if ( circuitoid->contains(pin) ) return; circuitoid->addPin(pin); |