aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-09-05 10:42:02 -0400
committerMichael Mann <mmann78@netscape.net>2014-09-05 18:13:48 +0000
commit56ae87a3dd471918a5a0c2f579f7f2a761d446aa (patch)
treea1da8c1f9f864775bffa48603aa35601b13d1480 /ui
parent8df622bc181763e5602a7aa5550b2a0e9984dea5 (diff)
Fix compilation when we don't HAVE_GEOIP.
Change-Id: Ib72178aab69c266cb903ef5ad5587cc0b80eb1fd Reviewed-on: https://code.wireshark.org/review/4007 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/endpoint_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/endpoint_dialog.cpp b/ui/qt/endpoint_dialog.cpp
index 40b0eabc30..81c5756eda 100644
--- a/ui/qt/endpoint_dialog.cpp
+++ b/ui/qt/endpoint_dialog.cpp
@@ -357,7 +357,7 @@ EndpointTreeWidget::EndpointTreeWidget(QWidget *parent, register_ct_t *table) :
#ifdef HAVE_GEOIP
setColumnCount(ENDP_NUM_COLUMNS + geoip_db_num_dbs());
#else
- setColumnCount(ENDP_NUM_BUILTIN_COLUMNS);
+ setColumnCount(ENDP_NUM_COLUMNS);
#endif
for (int i = 0; i < ENDP_NUM_COLUMNS; i++) {