forked from Ivasoft/DSView
update build script
This commit is contained in:
@@ -663,7 +663,13 @@ namespace pv
|
||||
else if (info->datatype == SR_T_FLOAT)
|
||||
_device_agent->set_config(NULL, NULL, info->key, g_variant_new_double(sessionObj[info->name].toDouble()));
|
||||
else if (info->datatype == SR_T_CHAR)
|
||||
_device_agent->set_config(NULL, NULL, info->key, g_variant_new_string(sessionObj[info->name].toString().toUtf8()));
|
||||
{
|
||||
QString v = sessionObj[info->name].toString();
|
||||
if (info->key == SR_CONF_OPERATION_MODE){
|
||||
|
||||
}
|
||||
_device_agent->set_config(NULL, NULL, info->key, g_variant_new_string(v.toUtf8()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ DeviceOptions::DeviceOptions()
|
||||
label_char = info->label_cn;
|
||||
g_variant_unref(gvar_tmp);
|
||||
}
|
||||
const QString label(label_char);
|
||||
QString label(label_char);
|
||||
|
||||
switch(key)
|
||||
{
|
||||
|
||||
@@ -61,7 +61,7 @@ static const struct lang_page_item lange_page_keys[] =
|
||||
{STR_PAGE_MAIN, "main.json"},
|
||||
{STR_PAGE_TOOLBAR, "toolbar.json"},
|
||||
{STR_PAGE_MSG, "msg.json"},
|
||||
{STR_PAGE_DEVICE, "device.json"},
|
||||
{STR_PAGE_DSL, "DSL.json"},
|
||||
};
|
||||
|
||||
class LangResource
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
#define STR_PAGE_MAIN 1
|
||||
#define STR_PAGE_MSG 2
|
||||
#define STR_PAGE_DEVICE 3
|
||||
#define STR_PAGE_TOOLBAR 4
|
||||
#define STR_PAGE_TOOLBAR 3
|
||||
#define STR_PAGE_DSL 100
|
||||
|
||||
#define IDS_TOOLBAR_MODE
|
||||
#define IDS_TOOLBAR_START
|
||||
|
||||
Reference in New Issue
Block a user