diff options
Diffstat (limited to 'src/piklab-prog/cli_prog_manager.cpp')
-rw-r--r-- | src/piklab-prog/cli_prog_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/piklab-prog/cli_prog_manager.cpp b/src/piklab-prog/cli_prog_manager.cpp index 472757a..f8b73d1 100644 --- a/src/piklab-prog/cli_prog_manager.cpp +++ b/src/piklab-prog/cli_prog_manager.cpp @@ -22,10 +22,10 @@ Port::Description Programmer::CliManager::portDescription() const log->log(Log::LineType::Information, i18n("Using port from configuration file.")); return Programmer::GroupConfig::portDescription(group()); } - if ( CLI::_port=="usb" ) return Port::Description(PortType::USB, QString::null); + if ( CLI::_port=="usb" ) return Port::Description(PortType::USB, TQString()); PortType type = Port::findType(CLI::_port); if ( type==PortType::Nb_Types ) { - log->log(Log::LineType::Warning, i18n("Could not find device \"%1\" as serial or parallel port. Will try to open as serial port.").arg(CLI::_port)); + log->log(Log::LineType::Warning, i18n("Could not find device \"%1\" as serial or parallel port. Will try to open as serial port.").tqarg(CLI::_port)); type = PortType::Serial; } return Port::Description(type, CLI::_port); |