Wireshark-commits: [Wireshark-commits] master 464d568: Don't build code to handle capturing if we d
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=464d5688cc241556b2042ea99ef4f6d74d0bd996
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
464d568 by Guy Harris (guy@xxxxxxxxxxxx):
Don't build code to handle capturing if we don't have pcap.
Only build the capture information dialog if we're going to support
capturing; otherwise, that dialog never pops up.
Don't include ui/capture.h in ui/qt/wireshark_application.cpp if we
don't have pcap, either; it's not needed, and breaks compilation.
Change-Id: If9a52239fd2c81c37663be8044ecd67f4569d61b
Reviewed-on: https://code.wireshark.org/review/36585
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
Actions performed:
from 30bad8e Have callback function pointers in a capture_session structure.
add 464d568 Don't build code to handle capturing if we don't have pcap.
Summary of changes:
ui/qt/CMakeLists.txt | 24 ++++++++++++++++--------
ui/qt/wireshark_application.cpp | 5 ++++-
2 files changed, 20 insertions(+), 9 deletions(-)