Don't connect to non-existent slots.
(Run-time warning, not compile-time error, alas.) Change-Id: I002ca132d2c7cbc2cfd802438edb4509ff76bcbc Reviewed-on: https://code.wireshark.org/review/3155 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
c7a2c89e40
commit
fdff1b3b18
|
@ -73,7 +73,7 @@ CaptureInterfacesDialog::CaptureInterfacesDialog(QWidget *parent) :
|
|||
connect(ui->allFilterComboBox, SIGNAL(captureFilterSyntaxChanged(bool)), this, SLOT(allFilterChanged()));
|
||||
connect(this, SIGNAL(interfacesChanged()), ui->allFilterComboBox, SIGNAL(interfacesChanged()));
|
||||
connect(this, SIGNAL(ifsChanged()), this, SLOT(refreshInterfaceList()));
|
||||
connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(updateInterfaces()));
|
||||
connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(updateLocalInterfaces()));
|
||||
}
|
||||
|
||||
void CaptureInterfacesDialog::allFilterChanged()
|
||||
|
@ -423,6 +423,11 @@ void CaptureInterfacesDialog::refreshInterfaceList()
|
|||
emit interfaceListChanged();
|
||||
}
|
||||
|
||||
void CaptureInterfacesDialog::updateLocalInterfaces()
|
||||
{
|
||||
UpdateInterfaces();
|
||||
}
|
||||
|
||||
void CaptureInterfacesDialog::updateStatistics(void)
|
||||
{
|
||||
QList<int> *points = NULL;
|
||||
|
|
|
@ -114,6 +114,7 @@ private slots:
|
|||
void updateStatistics(void);
|
||||
void allFilterChanged();
|
||||
void refreshInterfaceList();
|
||||
void updateLocalInterfaces();
|
||||
|
||||
signals:
|
||||
void startCapture();
|
||||
|
|
|
@ -308,7 +308,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
this->main_welcome_->getInterfaceTree(), SLOT(setSelectedInterfaces()));
|
||||
connect(&capture_interfaces_dialog_, SIGNAL(interfaceListChanged()),
|
||||
this->main_welcome_->getInterfaceTree(), SLOT(interfaceListChanged()));
|
||||
connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(interfaceListChanged()));
|
||||
#endif
|
||||
|
||||
main_ui_->mainStack->setCurrentWidget(main_welcome_);
|
||||
|
|
Loading…
Reference in New Issue