Adjust startup count for extcap.
The number of extcap splash items is the number of extcap binaries plus RA_EXTCAP. Change-Id: I9702da5a94e244ddd95a845a67da9302ee41c826 Reviewed-on: https://code.wireshark.org/review/19981 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
e9cf760c0c
commit
912aaf0304
|
@ -259,7 +259,7 @@ splash_update(register_action_e action, const char *message, gpointer client_dat
|
|||
ul_count += wslua_count_plugins (); /* get count of lua plugins */
|
||||
#endif
|
||||
#ifdef HAVE_EXTCAP
|
||||
ul_count += extcap_count(); /* get count of extcap binaries */
|
||||
ul_count += extcap_count() + 1; /* Count of extcap binaries + registration message */
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ SplashOverlay::SplashOverlay(QWidget *parent) :
|
|||
register_add += wslua_count_plugins(); /* get count of lua plugins */
|
||||
#endif
|
||||
#ifdef HAVE_EXTCAP
|
||||
register_add += extcap_count(); /* get count of extcap binaries */
|
||||
register_add += extcap_count() + 1; /* Count of extcap binaries + registration message */
|
||||
#endif
|
||||
so_ui_->progressBar->setMaximum((int)register_count() + register_add);
|
||||
elapsed_timer_.start();
|
||||
|
|
Loading…
Reference in New Issue