aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/wlan_statistics_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-01-31 19:30:09 -0800
committerGerald Combs <gerald@wireshark.org>2022-04-04 09:39:27 -0700
commit80de95ca71c5e04f79abd141e2c6406ee2df98bd (patch)
treebfa0a0f5fdd402c5bcdef12ebf34017b74620099 /ui/qt/wlan_statistics_dialog.cpp
parentca426d68a977c3462bba9954a97ffca260706f7d (diff)
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.
Diffstat (limited to 'ui/qt/wlan_statistics_dialog.cpp')
-rw-r--r--ui/qt/wlan_statistics_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
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 <ui/qt/models/percent_bar_delegate.h>
#include <ui/qt/utils/qt_ui_utils.h>
-#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 = {