summaryrefslogtreecommitdiff
path: root/ui/qt/capture_preferences_frame.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-10-11 21:42:49 +0000
committerGerald Combs <gerald@wireshark.org>2013-10-11 21:42:49 +0000
commit90b20ab8305a29f128da3ce99ba9339c97778e4e (patch)
treec4b8e6bdc645638cd686c304adb529b114847786 /ui/qt/capture_preferences_frame.cpp
parentaae1de7f9e5ea7cf9684aa827afad910fead1311 (diff)
downloadwireshark-90b20ab8305a29f128da3ce99ba9339c97778e4e.tar.gz
One more HAVE_LIBPCAP.
svn path=/trunk/; revision=52554
Diffstat (limited to 'ui/qt/capture_preferences_frame.cpp')
-rw-r--r--ui/qt/capture_preferences_frame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/capture_preferences_frame.cpp b/ui/qt/capture_preferences_frame.cpp
index e5b629b0cb..ff430f97e0 100644
--- a/ui/qt/capture_preferences_frame.cpp
+++ b/ui/qt/capture_preferences_frame.cpp
@@ -70,6 +70,7 @@ void CapturePreferencesFrame::showEvent(QShowEvent *evt)
void CapturePreferencesFrame::updateWidgets()
{
+#ifdef HAVE_LIBPCAP
GList *if_list, *combo_list, *combo_entry;
int err;
@@ -92,6 +93,7 @@ void CapturePreferencesFrame::updateWidgets()
ui->captureRealTimeCheckBox->setChecked(pref_real_time_->stashed_val.boolval);
ui->captureAutoScrollCheckBox->setChecked(pref_auto_scroll_->stashed_val.boolval);
ui->captureShowInfoCheckBox->setChecked(pref_show_info_->stashed_val.boolval);
+#endif // HAVE_LIBPCAP
}
void CapturePreferencesFrame::on_defaultInterfaceComboBox_editTextChanged(const QString &new_iface)