diff options
Diffstat (limited to 'src/micro')
-rw-r--r-- | src/micro/micropackage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/micro/micropackage.cpp b/src/micro/micropackage.cpp index a5e8809..7dac344 100644 --- a/src/micro/micropackage.cpp +++ b/src/micro/micropackage.cpp @@ -40,12 +40,12 @@ MicroPackage::~MicroPackage() void MicroPackage::assignPin( int pinPosition, PicPin::pin_type type, const TQString& pinID, const TQString& portName, int portPosition ) { - if ( m_picPinMap.tqfind(pinPosition) != m_picPinMap.end() ) + if ( m_picPinMap.find(pinPosition) != m_picPinMap.end() ) { kdError() << "PicDevice::assignBidirPin: Attempting to reset pin "<<pinPosition<<endl; return; } - if ( !m_portNames.tqcontains(portName) && !portName.isEmpty() ) + if ( !m_portNames.contains(portName) && !portName.isEmpty() ) { m_portNames.append(portName); m_portNames.sort(); |