Diffstat (limited to 'noncore/settings/networksettings/ppp/pppconfig.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppconfig.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/ppp/pppconfig.cpp b/noncore/settings/networksettings/ppp/pppconfig.cpp index 63f9335..5fa7d3f 100644 --- a/noncore/settings/networksettings/ppp/pppconfig.cpp +++ b/noncore/settings/networksettings/ppp/pppconfig.cpp | |||
@@ -39,14 +39,12 @@ PPPConfigWidget::PPPConfigWidget( InterfacePPP* iface, QWidget *parent, | |||
39 | accounts = new AccountWidget( interface->data(), tabWindow, "accounts" ); | 39 | accounts = new AccountWidget( interface->data(), tabWindow, "accounts" ); |
40 | tabWindow->addTab( accounts, tr("&Accounts") ); | 40 | tabWindow->addTab( accounts, tr("&Accounts") ); |
41 | modem1 = new ModemWidget( interface, tabWindow, "modem1" ); | 41 | modem1 = new ModemWidget( interface, tabWindow, "modem1" ); |
42 | tabWindow->addTab( modem1, tr("&Device") ); | 42 | tabWindow->addTab( modem1, tr("&Device") ); |
43 | modem2 = new ModemWidget2( interface, tabWindow, "modem2" ); | 43 | modem2 = new ModemWidget2( interface, tabWindow, "modem2" ); |
44 | tabWindow->addTab( modem2, tr("&Modem") ); | 44 | tabWindow->addTab( modem2, tr("&Modem") ); |
45 | // graph = new GraphSetup( tabWindow->addPage( tr("&Graph"), tr("Throughput Graph" ) ) ); | ||
46 | // general = new GeneralWidget( tabWindow->addPage( tr("M&isc"), tr("Miscellaneous Settings") ) ); | ||
47 | 45 | ||
48 | } | 46 | } |
49 | 47 | ||
50 | 48 | ||
51 | PPPConfigWidget::~PPPConfigWidget() | 49 | PPPConfigWidget::~PPPConfigWidget() |
52 | { | 50 | { |
@@ -57,13 +55,13 @@ void PPPConfigWidget::accept() | |||
57 | { | 55 | { |
58 | qDebug("PPPConfigWidget::accept"); | 56 | qDebug("PPPConfigWidget::accept"); |
59 | qDebug(" _pppdata->accname >%s<",interface->data()->accname().latin1()); | 57 | qDebug(" _pppdata->accname >%s<",interface->data()->accname().latin1()); |
60 | qDebug(" interface->getHardwareName >%s<", interface->getHardwareName().latin1()); | 58 | qDebug(" interface->getHardwareName >%s<", interface->getHardwareName().latin1()); |
61 | interface->setInterfaceName( interface->data()->modemDevice() ); | 59 | interface->setInterfaceName( interface->data()->modemDevice() ); |
62 | interface->setHardwareName( interface->data()->accname() ); | 60 | interface->setHardwareName( interface->data()->accname() ); |
63 | interface->data()->save(); | 61 | interface->save(); |
64 | QDialog::accept(); | 62 | QDialog::accept(); |
65 | } | 63 | } |
66 | 64 | ||
67 | 65 | ||
68 | void PPPConfigWidget::reject() | 66 | void PPPConfigWidget::reject() |
69 | { | 67 | { |