From 4f6b41af1b4c85a1241d6760f43b8f103f5b2df7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 29 May 2019 15:14:42 +0900 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. Signed-off-by: Michele Calgaro --- src/progs/base/debug_config.cpp | 4 ++-- src/progs/base/prog_config.cpp | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/progs/base') diff --git a/src/progs/base/debug_config.cpp b/src/progs/base/debug_config.cpp index b1bbda4..a980478 100644 --- a/src/progs/base/debug_config.cpp +++ b/src/progs/base/debug_config.cpp @@ -9,6 +9,6 @@ #include "debug_config.h" const Debugger::Config::Data Debugger::Config::DATA[Nb_Types] = { - { "only_stop_on_source_line", I18N_NOOP("Only stop stepping on source line."), TQVariant(true, 0) }, - { "only_stop_on_project_source_line", I18N_NOOP("Only stop stepping on project source line."), TQVariant(true, 0) } + { "only_stop_on_source_line", I18N_NOOP("Only stop stepping on source line."), TQVariant(true) }, + { "only_stop_on_project_source_line", I18N_NOOP("Only stop stepping on project source line."), TQVariant(true) } }; diff --git a/src/progs/base/prog_config.cpp b/src/progs/base/prog_config.cpp index b9d88b6..b2d5472 100644 --- a/src/progs/base/prog_config.cpp +++ b/src/progs/base/prog_config.cpp @@ -66,13 +66,13 @@ void Programmer::GroupConfig::writeFirmwareDirectory(const Group &group, const T //---------------------------------------------------------------------------- const Programmer::Config::Data Programmer::Config::DATA[Nb_Types] = { - { "only_program_non_mask", I18N_NOOP("Only program what is needed (faster)."), TQVariant(true, 0) }, - { "verify_after_program", I18N_NOOP("Verify device memory after programming."), TQVariant(true, 0) }, - { "only_verify_programmed", I18N_NOOP("Only verify programmed words in code memory (faster)."), TQVariant(true, 0) }, - { "power_down_after_programming", I18N_NOOP("Power down target after programming."), TQVariant(true, 0) }, - { "target_self_powered", I18N_NOOP("Target is self-powered (when possible)."), TQVariant(true, 0) }, - { "blank_check_after_erase", I18N_NOOP("Blank check after erase."), TQVariant(false, 0) }, - { "preserve_eeprom", I18N_NOOP("Preserve data EEPROM when programming."), TQVariant(false, 0) }, - { "program_eeprom", I18N_NOOP("Program data EEPROM."), TQVariant(true, 0) }, - { "run_after_program", I18N_NOOP("Run device after successful programming."), TQVariant(false, 0) } + { "only_program_non_mask", I18N_NOOP("Only program what is needed (faster)."), TQVariant(true) }, + { "verify_after_program", I18N_NOOP("Verify device memory after programming."), TQVariant(true) }, + { "only_verify_programmed", I18N_NOOP("Only verify programmed words in code memory (faster)."), TQVariant(true) }, + { "power_down_after_programming", I18N_NOOP("Power down target after programming."), TQVariant(true) }, + { "target_self_powered", I18N_NOOP("Target is self-powered (when possible)."), TQVariant(true) }, + { "blank_check_after_erase", I18N_NOOP("Blank check after erase."), TQVariant(false) }, + { "preserve_eeprom", I18N_NOOP("Preserve data EEPROM when programming."), TQVariant(false) }, + { "program_eeprom", I18N_NOOP("Program data EEPROM."), TQVariant(true) }, + { "run_after_program", I18N_NOOP("Run device after successful programming."), TQVariant(false) } }; -- cgit v1.2.1