aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_interfaces_dialog.h
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2016-09-27 18:55:08 +0200
committerGraham Bloice <graham.bloice@trihedral.com>2016-09-27 22:06:17 +0000
commitf8b32e5b4edac7c4ca9932aacef64b48e514b577 (patch)
tree8bc4d25cfc69f2d09887ccc2be72475ef41d1506 /ui/qt/capture_interfaces_dialog.h
parente302f5ef6b74b1a8a5a78e129e7db4efc3eea63a (diff)
checkAPIs.pl: Avoid false positive in header
This avoids the text index being identified as shadow variable Bug:12956 Change-Id: I5565c5807e2c7d317d6849deeba9edd63c069397 Reviewed-on: https://code.wireshark.org/review/17953 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'ui/qt/capture_interfaces_dialog.h')
-rw-r--r--ui/qt/capture_interfaces_dialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/capture_interfaces_dialog.h b/ui/qt/capture_interfaces_dialog.h
index af6b5c15e5..48f11173b2 100644
--- a/ui/qt/capture_interfaces_dialog.h
+++ b/ui/qt/capture_interfaces_dialog.h
@@ -51,7 +51,7 @@ public:
InterfaceTreeDelegate(QObject *parent = 0);
~InterfaceTreeDelegate();
- QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
+ QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &idx) const;
void setTree(QTreeWidget* tree) { tree_ = tree; }
bool eventFilter(QObject *object, QEvent *event);
@@ -72,7 +72,7 @@ public:
explicit CaptureInterfacesDialog(QWidget *parent = 0);
~CaptureInterfacesDialog();
- void setTab(int index);
+ void setTab(int idx);
void updateInterfaces();
protected: