aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/extcap_options_dialog.cpp
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2015-11-26 16:35:03 +0100
committerAnders Broman <a.broman58@gmail.com>2015-11-26 21:44:37 +0000
commitdcb3882e8f9f771475d5780902812d5223e03ad4 (patch)
tree73cde899f41677d290792a4d9ecf20d2a51f1931 /ui/qt/extcap_options_dialog.cpp
parent0c6c08a60a686d17fee12bb5e56cc7a44ad70537 (diff)
qt: add initializers to extcap dialog (CID 1297113)
Change-Id: I3c0d116554a663a1a6449d805c9fe860d4c9911e Reviewed-on: https://code.wireshark.org/review/12190 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/extcap_options_dialog.cpp')
-rw-r--r--ui/qt/extcap_options_dialog.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/qt/extcap_options_dialog.cpp b/ui/qt/extcap_options_dialog.cpp
index d83a4d892e..d2c17f33f2 100644
--- a/ui/qt/extcap_options_dialog.cpp
+++ b/ui/qt/extcap_options_dialog.cpp
@@ -59,14 +59,16 @@
ExtcapOptionsDialog::ExtcapOptionsDialog(QWidget *parent) :
QDialog(parent),
- ui(new Ui::ExtcapOptionsDialog)
+ ui(new Ui::ExtcapOptionsDialog),
+ device_name(""),
+ device_idx(0),
+ device_defaults(NULL),
+ start_bt_(NULL)
{
ui->setupUi(this);
setWindowTitle(wsApp->windowTitleString(tr("Extcap Interface Options")));
- device_idx = 0;
-
start_bt_ = ui->buttonBox->addButton(tr("Start"), QDialogButtonBox::AcceptRole);
start_bt_->setEnabled((global_capture_opts.num_selected > 0)? true: false);