aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-06 21:20:03 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-07 05:20:39 +0000
commit69a81b02f52a53887fd5c7cbd00b6c2873fd72dc (patch)
treeaf3b8af78f92f84d14878e09700fec27c3d0b781 /ui/qt
parentb2bf9e3306d34987dfb7928964931088c2224b92 (diff)
"#ifdef" out a definition not used if HAVE_LIBPCAP isn't defined.
Change-Id: Ifc0f89706c0633925c57d1fed3a56c7e531a3b39 Reviewed-on: https://code.wireshark.org/review/13095 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/interface_tree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/interface_tree.cpp b/ui/qt/interface_tree.cpp
index 5d4839c80f..2ab3f4158f 100644
--- a/ui/qt/interface_tree.cpp
+++ b/ui/qt/interface_tree.cpp
@@ -43,7 +43,9 @@
#include <QHeaderView>
#include <QTimer>
+#ifdef HAVE_LIBPCAP
const int stat_update_interval_ = 1000; // ms
+#endif
InterfaceTree::InterfaceTree(QWidget *parent) :
QTreeWidget(parent)