aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-06 10:24:50 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-06 10:24:50 +0000
commitf9c27ac0d8956853ebcbfa1ea32453ffa90a7095 (patch)
tree1e3d1b94b57738308736ae075781b43e5eae1af6 /ui
parent8cfb238ad4d0b49c908bcf1665f0238b590f7921 (diff)
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
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/capture_interfaces_dialog.cpp5
-rw-r--r--ui/qt/capture_interfaces_dialog.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/ui/qt/capture_interfaces_dialog.cpp b/ui/qt/capture_interfaces_dialog.cpp
index 2525f24d0c..de2120cb7c 100644
--- a/ui/qt/capture_interfaces_dialog.cpp
+++ b/ui/qt/capture_interfaces_dialog.cpp
@@ -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 */
/*
diff --git a/ui/qt/capture_interfaces_dialog.h b/ui/qt/capture_interfaces_dialog.h
index f7592310e8..f9036ea029 100644
--- a/ui/qt/capture_interfaces_dialog.h
+++ b/ui/qt/capture_interfaces_dialog.h
@@ -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();