forked from osmocom/wireshark
Fix warning when launch Qt Port
QMetaObject::connectSlotsByName: No matching signal for on_tbInterfaces_hideEvent(QHideEvent*) QMetaObject::connectSlotsByName: No matching signal for on_tbInterfaces_showEvent(QShowEvent*) Object::connect: No such slot CaptureInterfacesDialog::tableItemPressed(QTableWidgetItem *) Object::connect: (sender name: 'tbInterfaces') Object::connect: (receiver name: 'CaptureInterfacesDialog') svn path=/trunk/; revision=53808
This commit is contained in:
parent
8cfb238ad4
commit
f9c27ac0d8
|
@ -57,7 +57,7 @@ CaptureInterfacesDialog::CaptureInterfacesDialog(QWidget *parent) :
|
|||
stat_timer_ = NULL;
|
||||
stat_cache_ = NULL;
|
||||
|
||||
connect(ui->tbInterfaces,SIGNAL(itemPressed(QTableWidgetItem *)),this,SLOT(tableItemPressed(QTableWidgetItem *)));
|
||||
//connect(ui->tbInterfaces,SIGNAL(itemPressed(QTableWidgetItem *)),this,SLOT(tableItemPressed(QTableWidgetItem *)));
|
||||
connect(ui->tbInterfaces,SIGNAL(itemClicked(QTableWidgetItem *)),this,SLOT(tableItemClicked(QTableWidgetItem *)));
|
||||
}
|
||||
|
||||
|
@ -371,7 +371,7 @@ void CaptureInterfacesDialog::updateStatistics(void)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
void CaptureInterfacesDialog::on_tbInterfaces_hideEvent(QHideEvent *evt)
|
||||
{
|
||||
Q_UNUSED(evt);
|
||||
|
@ -387,6 +387,7 @@ void CaptureInterfacesDialog::on_tbInterfaces_showEvent(QShowEvent *evt)
|
|||
Q_UNUSED(evt);
|
||||
if (stat_timer_) stat_timer_->start(stat_update_interval_);
|
||||
}
|
||||
*/
|
||||
#endif /* HAVE_LIBPCAP */
|
||||
|
||||
/*
|
||||
|
|
|
@ -89,8 +89,8 @@ private slots:
|
|||
void on_bStop_clicked();
|
||||
void tableItemClicked(QTableWidgetItem * item);
|
||||
void updateStatistics(void);
|
||||
void on_tbInterfaces_hideEvent(QHideEvent *evt);
|
||||
void on_tbInterfaces_showEvent(QShowEvent *evt);
|
||||
//void on_tbInterfaces_hideEvent(QHideEvent *evt);
|
||||
//void on_tbInterfaces_showEvent(QShowEvent *evt);
|
||||
|
||||
signals:
|
||||
void startCapture();
|
||||
|
|
Loading…
Reference in New Issue