Allow "capture info data" to not be a singleton.
[metze/wireshark/wip.git] / wireshark-qt.cpp
index fc9ef0c9d0f4b718bbea031509cb4cf22c49a436..ec8b33cbab8864c137a77034746776376f71a553 100644 (file)
@@ -1409,7 +1409,7 @@ int main(int argc, char *argv[])
             if (global_capture_opts.ifaces->len == 0)
                 collect_ifaces(&global_capture_opts);
             CaptureFile::globalCapFile()->window = main_w;
-            if (capture_start(&global_capture_opts, main_w->captureSession(), main_window_update)) {
+            if (capture_start(&global_capture_opts, main_w->captureSession(), main_w->captureInfoData(), main_window_update)) {
                 /* The capture started.  Open stat windows; we do so after creating
                    the main window, to avoid GTK warnings, and after successfully
                    opening the capture file, so we know we have something to compute