summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-05-29 15:14:42 +0900
committerMichele Calgaro <[email protected]>2019-05-29 15:14:42 +0900
commit4f6b41af1b4c85a1241d6760f43b8f103f5b2df7 (patch)
treedc8f2d33799f99f8e18f3c866b4cf54b6b59d8a7 /src/progs
parent49ec11d70278c774c77543423ea1e29093c0c78d (diff)
downloadpiklab-4f6b41af1b4c85a1241d6760f43b8f103f5b2df7.tar.gz
piklab-4f6b41af1b4c85a1241d6760f43b8f103f5b2df7.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/base/debug_config.cpp4
-rw-r--r--src/progs/base/prog_config.cpp18
2 files changed, 11 insertions, 11 deletions
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) }
};