update datacollet code

This commit is contained in:
like 2024-06-17 11:28:48 +08:00
parent 6dbead7757
commit fcd41a5011
1 changed files with 7 additions and 7 deletions

View File

@ -125,49 +125,49 @@ void DataCollect::sendGlobalThemeKdkDataAsync(DataCollect::GlobalThemeChangeWidg
case g_CoverWidget:
QtConcurrent::run([=]() {
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
kdk_dia_upload_default(node,"coverWidget_click","globaltheme");
kdk_dia_upload_default(node,"cover_widget_click","globaltheme");
kdk_dia_data_free(node);
});
break;
case g_WallPaperWidget:
QtConcurrent::run([=]() {
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
kdk_dia_upload_default(node,"wallPaperWidget_click","globaltheme");
kdk_dia_upload_default(node,"wall_paper_widget_click","globaltheme");
kdk_dia_data_free(node);
});
break;
case g_ExteriorWidget:
QtConcurrent::run([=]() {
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
kdk_dia_upload_default(node,"exteriorWidget_click","globaltheme");
kdk_dia_upload_default(node,"exterior_widget_click","globaltheme");
kdk_dia_data_free(node);
});
break;
case g_FilletWidget:
QtConcurrent::run([=]() {
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
kdk_dia_upload_default(node,"filletWidget_click","globaltheme");
kdk_dia_upload_default(node,"fillet_widget_click","globaltheme");
kdk_dia_data_free(node);
});
break;
case g_AccentColorWidget:
QtConcurrent::run([=]() {
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
kdk_dia_upload_default(node,"accentColorWidget_click","globaltheme");
kdk_dia_upload_default(node,"accent_color_widget_click","globaltheme");
kdk_dia_data_free(node);
});
break;
case g_TransparencyWidget:
QtConcurrent::run([=]() {
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
kdk_dia_upload_default(node,"transparencyWidget_click","globaltheme");
kdk_dia_upload_default(node,"transparency_widget_click","globaltheme");
kdk_dia_data_free(node);
});
break;
case g_WindowFilletWidget:
QtConcurrent::run([=]() {
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
kdk_dia_upload_default(node,"windowFilletWidget_click","globaltheme");
kdk_dia_upload_default(node,"window_fillet_widget_click","globaltheme");
kdk_dia_data_free(node);
});
break;