aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-07-24 10:55:56 -0700
committerAnders Broman <a.broman58@gmail.com>2017-07-25 04:56:10 +0000
commitc6ed05ec73e1b1e22ea890fc95ec5e067726cbe8 (patch)
tree5c65e91184ae47b90b3d3315276f257f64d07fec /wireshark-qt.cpp
parent17f72a0b2273e8c45296711d2454997e74e2734c (diff)
Qt: Make SimpleDialog a plain, non-QObject class.
Don't assume that the application is initialized when we create a SimpleDialog. Bug: 13275 Change-Id: Ieeb52430500570db88463069833855c3789f686b Reviewed-on: https://code.wireshark.org/review/22778 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>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 7e4d597..9ad4305 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -107,6 +107,8 @@
#include "caputils/capture-pcap-util.h"
+#include <QMessageBox>
+
#ifdef _WIN32
# include "caputils/capture-wpcap.h"
# include "caputils/capture_wpcap_packet.h"