Qt: rename index to tab_index to pacify checkAPI.

Change-Id: Ib171c835ca1e2a3b00ac6d6d495b41c70084b52f
Reviewed-on: https://code.wireshark.org/review/25325
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2018-01-15 12:26:22 +01:00 committed by Anders Broman
parent 43833239fc
commit 282436a762
1 changed files with 4 additions and 4 deletions

View File

@ -203,14 +203,14 @@ ByteViewText * ByteViewTab::findByteViewTextForTvb(tvbuff_t * search_tvb, int *
return item;
}
void ByteViewTab::tabInserted(int index) {
void ByteViewTab::tabInserted(int tab_index) {
setTabsVisible();
QTabWidget::tabInserted(index);
QTabWidget::tabInserted(tab_index);
}
void ByteViewTab::tabRemoved(int index) {
void ByteViewTab::tabRemoved(int tab_index) {
setTabsVisible();
QTabWidget::tabRemoved(index);
QTabWidget::tabRemoved(tab_index);
}
void ByteViewTab::setTabsVisible() {