summaryrefslogtreecommitdiffstats
path: root/src/common/port/port.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/port/port.cpp')
-rw-r--r--src/common/port/port.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/port/port.cpp b/src/common/port/port.cpp
index 3df2d48..a5545a4 100644
--- a/src/common/port/port.cpp
+++ b/src/common/port/port.cpp
@@ -92,7 +92,7 @@ PortType Port::findType(const TQString &portDevice)
{
FOR_EACH(PortType, type) {
if ( !type.data().withDevice ) continue;
- if ( probedDeviceList(type).tqcontains(portDevice) ) return type;
+ if ( probedDeviceList(type).contains(portDevice) ) return type;
}
return PortType::Nb_Types;
}