From 80de95ca71c5e04f79abd141e2c6406ee2df98bd Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 31 Jan 2022 19:30:09 -0800 Subject: Qt: Split MainApplication out from WiresharkApplication. Move WiresharkApplication.{cpp,h} to MainApplication.{cpp,h}. Add back WiresharkApplication as a thin superclass of MainApplication, similar to LogsharkApplication. Change all of our wsApp references to mainApp. We will likely have to change many or most of them back, but that's a commit for another time. --- ui/qt/wlan_statistics_dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/qt/wlan_statistics_dialog.cpp') diff --git a/ui/qt/wlan_statistics_dialog.cpp b/ui/qt/wlan_statistics_dialog.cpp index 8cbe129659..36f0f375c7 100644 --- a/ui/qt/wlan_statistics_dialog.cpp +++ b/ui/qt/wlan_statistics_dialog.cpp @@ -21,7 +21,7 @@ #include #include -#include "wireshark_application.h" +#include "main_application.h" // To do: // - Add the name resolution checkbox @@ -726,7 +726,7 @@ wlan_statistics_init(const char *args, void*) { if (args_l.length() > 2) { filter = QStringList(args_l.mid(2)).join(",").toUtf8(); } - wsApp->emitStatCommandSignal("WlanStatistics", filter.constData(), NULL); + mainApp->emitStatCommandSignal("WlanStatistics", filter.constData(), NULL); } static stat_tap_ui wlan_statistics_ui = { -- cgit v1.2.3