forked from osmocom/wireshark
Qt: Remove "Extcap" from window title.
An average user does not need to know that an interface is of type extcap. Remove "Extcap" from the "Extcap Interface Options" dialog. Change-Id: Iafadf2d312a4ffd5530deeac63194151571fc7d3 Reviewed-on: https://code.wireshark.org/review/19443 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
f3df81bf59
commit
52d38a18fd
|
@ -73,7 +73,7 @@ ExtcapOptionsDialog::ExtcapOptionsDialog(QWidget *parent) :
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
setWindowTitle(wsApp->windowTitleString(tr("Extcap Interface Options")));
|
setWindowTitle(wsApp->windowTitleString(tr("Interface Options")));
|
||||||
|
|
||||||
ui->checkSaveOnStart->setCheckState(prefs.extcap_save_on_start ? Qt::Checked : Qt::Unchecked);
|
ui->checkSaveOnStart->setCheckState(prefs.extcap_save_on_start ? Qt::Checked : Qt::Unchecked);
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ ExtcapOptionsDialog * ExtcapOptionsDialog::createForDevice(QString &dev_name, QW
|
||||||
resultDialog->device_name = QString(dev_name);
|
resultDialog->device_name = QString(dev_name);
|
||||||
resultDialog->device_idx = if_idx;
|
resultDialog->device_idx = if_idx;
|
||||||
|
|
||||||
resultDialog->setWindowTitle(wsApp->windowTitleString(tr("Extcap Interface Options") + ": " + device.display_name));
|
resultDialog->setWindowTitle(wsApp->windowTitleString(tr("Interface Options") + ": " + device.display_name));
|
||||||
|
|
||||||
resultDialog->updateWidgets();
|
resultDialog->updateWidgets();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue