void WiresharkApplication::helpTopicAction(topic_action_e action) { QString url = gchar_free_to_qstring(topic_action_url(action)); if(!url.isEmpty()) { QDesktopServices::openUrl(QUrl(url)); } }
void WiresharkApplication::helpTopicAction(topic_action_e action) { char *url; url = topic_action_url(action); if(url != NULL) { QDesktopServices::openUrl(QUrl(url)); g_free(url); } }
void topic_action(topic_action_e action) { char *url; url = topic_action_url(action); if(url != NULL) { browser_open_url(url); g_free(url); } }