add break in datacollect
This commit is contained in:
parent
abe3cfecd3
commit
006a6db4fb
|
@ -38,30 +38,35 @@ void DataCollect::sendMainWindowKdkDataAsync(WindowButton theme)
|
|||
//释放内存
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case m_IconTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"mainwindow_icontheme_click","mainwindow");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case m_CursorTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"mainwindow_cursortheme_click","mainwindow");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case m_PlymouthTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"mainwindow_plymouththeme_click","mainwindow");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case m_GrubTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"mainwindow_grubtheme_click","mainwindow");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -78,30 +83,35 @@ void DataCollect::sendNavigationKdkDataAsync(DataCollect::NavigationButton theme
|
|||
kdk_dia_upload_default(node,"navigationbar_globaltheme_click","navigationbar");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case n_IconTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"navigationbar_icontheme_click","navigationbar");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case n_CursorTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"navigationbar_cursortheme_click","navigationbar");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case n_PlymouthTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"navigationbar_plymouththeme_click","navigationbar");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
case n_GrubTheme:
|
||||
QtConcurrent::run([=]() {
|
||||
KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK);
|
||||
kdk_dia_upload_default(node,"navigationbar_grubtheme_click","navigationbar");
|
||||
kdk_dia_data_free(node);
|
||||
});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -118,42 +128,49 @@ void DataCollect::sendGlobalThemeKdkDataAsync(DataCollect::GlobalThemeChangeWidg
|
|||
kdk_dia_upload_default(node,"coverWidget_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_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_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_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_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_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_data_free(node);
|
||||
});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue