It looks as if a fair bit of work is done under RA_DISSECTORS before we
register any individual items, so add it to the splash screen update
with the Qt UI - it's used in the GTK+ UI.
Update a comment to explicitly indicate what action transactions are
being counted (other than the individual-item ones, where we have to
call routines that give us a count of items).
Change-Id: I3ec5e5fbfdcf523d693bcf1b0f0ffbe0d05d61ae
Reviewed-on: https://code.wireshark.org/review/19553
Reviewed-by: Guy Harris <guy@alum.mit.edu>
{
so_ui_->setupUi(this);
- // Number of register action transitions (e.g. RA_NONE -> RA_DISSECTORS,
- // RA_DISSECTORS -> RA_PLUGIN_REGISTER) minus two.
- int register_add = 5;
+ // 6 for:
+ // dissectors, listeners, registering plugins, handingoff plugins,
+ // preferences, and interfaces
+ int register_add = 6;
#ifdef HAVE_LUA
register_add += wslua_count_plugins(); /* get count of lua plugins */
#endif
/* Register all audio codec plugins. */
register_all_codecs();
+ splash_update(RA_DISSECTORS, NULL, NULL);
+
/* Register all dissectors; we must do this before checking for the
"-G" flag, as the "-G" flag dumps information registered by the
dissectors, and we must do it before we read the preferences, in