2
0
forked from Ivasoft/DSView

demo path

This commit is contained in:
yunyaobaihong
2023-05-15 14:00:05 +08:00
parent c25477da1f
commit e42cf2a8d0
5 changed files with 18 additions and 15 deletions

View File

@@ -117,7 +117,7 @@ namespace pv
_is_auto_switch_device = false;
_is_save_confirm_msg = false;
_pattern_mode = "RANDOM";
_pattern_mode = "random";
setup_ui();
@@ -1779,7 +1779,7 @@ namespace pv
{
_view->auto_set_max_scale();
if(_pattern_mode != "RANDOM")
if(_pattern_mode != "random")
{
StoreSession ss(_session);
QJsonArray deArray = get_decoder_json_from_file(_device_agent->path());
@@ -1833,7 +1833,7 @@ namespace pv
if(_device_agent->get_work_mode() == LOGIC)
{
if(_pattern_mode != "RANDOM")
if(_pattern_mode != "random")
{
_device_agent->update();
StoreSession ss(_session);
@@ -1948,7 +1948,7 @@ namespace pv
_protocol_widget->del_all_protocol();
if(_pattern_mode != "RANDOM")
if(_pattern_mode != "random")
{
StoreSession ss(_session);
QJsonArray deArray = get_decoder_json_from_file(_device_agent->path());

View File

@@ -528,7 +528,7 @@ namespace pv
QString rand_mode = g_variant_get_string(gvar,NULL);
g_variant_unref(gvar);
if (rand_mode != "RANDOM"){
if (rand_mode != "random"){
set_operation_mode(OPT_SINGLE);
}
}

View File

@@ -1275,7 +1275,7 @@ namespace pv
QString rand_mode = g_variant_get_string(gvar,NULL);
g_variant_unref(gvar);
bool is_rand = rand_mode.toUpper() == "RANDOM";
bool is_rand = rand_mode.toUpper() == "random";
_action_loop->setVisible(is_rand);
if (!is_rand){