summaryrefslogtreecommitdiffstats
path: root/src/piklab-prog/cmdline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/piklab-prog/cmdline.cpp')
-rw-r--r--src/piklab-prog/cmdline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/piklab-prog/cmdline.cpp b/src/piklab-prog/cmdline.cpp
index ec2cd38..beb309a 100644
--- a/src/piklab-prog/cmdline.cpp
+++ b/src/piklab-prog/cmdline.cpp
@@ -332,7 +332,7 @@ CLI::ExitCode CLI::Main::checkProgrammer()
if ( !_hardware.isEmpty() ) {
::Hardware::Config *config = _progGroup->hardwareConfig();
Port::Description pd = static_cast<Programmer::CliManager *>(Programmer::manager)->portDescription();
- bool ok = (config==0 || config->hardwareNames(pd.type).tqcontains(_hardware));
+ bool ok = (config==0 || config->hardwareNames(pd.type).contains(_hardware));
delete config;
if ( !ok ) return errorExit(i18n("The selected programmer does not supported the specified hardware configuration (\"%1\").").tqarg(_hardware), NOT_SUPPORTED_ERROR);
}