aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-05-17 08:05:35 -0400
committerEvan Huus <eapache@gmail.com>2014-05-17 12:07:45 +0000
commit25ba4a2a444bfc153e2569685be596f95639bfbd (patch)
tree0b0948972227f1dcc0dac07b2fcadab52d3a089f /ui
parent8129c2d13d836a299ce8fbabf7ee98cad12eafe2 (diff)
Guard closing capture window with ifdef.
That variable is only defined if we HAVE_LIBPCAP. Should fix OSX10.5 buildbot. Change-Id: I0bafc48955ef4af3c0b8d9d7a35b1e8b27577d31 Reviewed-on: https://code.wireshark.org/review/1669 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 19af5372c9..88fa327a13 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -409,7 +409,9 @@ void MainWindow::closeEvent(QCloseEvent *event) {
return;
}
+#ifdef HAVE_LIBPCAP
capture_interfaces_dialog_.close();
+#endif
// Make sure we kill any open dumpcap processes.
delete main_welcome_;