Rename ifListChanged to localInterfaceListChanged.
That better indicates that it reflects changes to the list of local interfaces on the system, as supplied by libpcap/WinPcap, not to any other interface list we maintain, such as lists of remote interfaces, or the list of non-hidden interfaces. Change-Id: Idf79b365e07f2e3eaa83c105ae9cd7ace54c435e Reviewed-on: https://code.wireshark.org/review/3154 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
59ef97dd65
commit
c7a2c89e40
|
@ -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(ifListChanged()), this, SLOT(updateInterfaces()));
|
||||
connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(updateInterfaces()));
|
||||
}
|
||||
|
||||
void CaptureInterfacesDialog::allFilterChanged()
|
||||
|
|
|
@ -65,7 +65,7 @@ InterfaceTree::InterfaceTree(QWidget *parent) :
|
|||
resizeColumnToContents(0);
|
||||
|
||||
connect(wsApp, SIGNAL(appInitialized()), this, SLOT(getInterfaceList()));
|
||||
connect(wsApp, SIGNAL(ifListChanged()), this, SLOT(interfaceListChanged()));
|
||||
connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(interfaceListChanged()));
|
||||
connect(this, SIGNAL(itemSelectionChanged()), this, SLOT(updateSelectedInterfaces()));
|
||||
}
|
||||
|
||||
|
|
|
@ -308,7 +308,7 @@ 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(ifListChanged()), this, SLOT(interfaceListChanged()));
|
||||
connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(interfaceListChanged()));
|
||||
#endif
|
||||
|
||||
main_ui_->mainStack->setCurrentWidget(main_welcome_);
|
||||
|
|
|
@ -702,7 +702,7 @@ void WiresharkApplication::ifChangeEventsAvailable()
|
|||
*
|
||||
* XXX - only if it *did* change.
|
||||
*/
|
||||
emit ifListChanged();
|
||||
emit localInterfaceListChanged();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ protected:
|
|||
|
||||
signals:
|
||||
void appInitialized();
|
||||
void ifListChanged();
|
||||
void localInterfaceListChanged();
|
||||
void openCaptureFile(QString &cf_path, QString &display_filter, unsigned int type);
|
||||
void recentFilesRead();
|
||||
void updateRecentItemStatus(const QString &filename, qint64 size, bool accessible);
|
||||
|
|
Loading…
Reference in New Issue