Allow "capture info data" to not be a singleton.
[metze/wireshark/wip.git] / ui / qt / main_window_slots.cpp
index 40dc8e426e856f761a80bf5de6e85bcf2fac01d0..cb6f8eff0f9787b818b6fe94b8dc3fbc9502d769 100644 (file)
@@ -849,7 +849,7 @@ void MainWindow::startCapture() {
     collect_ifaces(&global_capture_opts);
 
     CaptureFile::globalCapFile()->window = this;
-    if (capture_start(&global_capture_opts, &cap_session_, main_window_update)) {
+    if (capture_start(&global_capture_opts, &cap_session_, &info_data_, main_window_update)) {
         capture_options *capture_opts = cap_session_.capture_opts;
         GString *interface_names;