summaryrefslogtreecommitdiffstats
path: root/src/progs/gui/port_selector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gui/port_selector.cpp')
-rw-r--r--src/progs/gui/port_selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/gui/port_selector.cpp b/src/progs/gui/port_selector.cpp
index 4bb4539..644caaf 100644
--- a/src/progs/gui/port_selector.cpp
+++ b/src/progs/gui/port_selector.cpp
@@ -93,7 +93,7 @@ void PortSelector::addPortType(const Port::Description &pd)
if (pd.type.data().withDevice) {
_combos[pd.type.type()] = new TQComboBox(true, _main);
for (uint i=0; i<list.count(); i++) _combos[pd.type.type()]->insertItem(list[i]);
- if ( !pd.device.isEmpty() && !list.tqcontains(pd.device) ) _combos[pd.type.type()]->insertItem(pd.device);
+ if ( !pd.device.isEmpty() && !list.contains(pd.device) ) _combos[pd.type.type()]->insertItem(pd.device);
_combos[pd.type.type()]->setCurrentText(pd.device);
connect(_combos[pd.type.type()], TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed()));
connect(_combos[pd.type.type()], TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(textChanged()));