summaryrefslogtreecommitdiffstats
path: root/src/progs/base/hardware_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/base/hardware_config.cpp')
-rw-r--r--src/progs/base/hardware_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/base/hardware_config.cpp b/src/progs/base/hardware_config.cpp
index a3022e5..9f67308 100644
--- a/src/progs/base/hardware_config.cpp
+++ b/src/progs/base/hardware_config.cpp
@@ -55,7 +55,7 @@ void Hardware::Config::writeCustomHardware(const TQString& name, const Hardware:
{
Q_ASSERT( !isStandardHardware(name) );
TQStringList customNames = readListEntry("custom_hardware_names", TQStringList());
- if ( !customNames.tqcontains(name) ) {
+ if ( !customNames.contains(name) ) {
customNames += name;
writeEntry("custom_hardware_names", customNames);
}