summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/connect.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/ppp/connect.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/connect.cpp28
1 files changed, 13 insertions, 15 deletions
diff --git a/noncore/settings/networksettings/ppp/connect.cpp b/noncore/settings/networksettings/ppp/connect.cpp
index 2615b60..89d9930 100644
--- a/noncore/settings/networksettings/ppp/connect.cpp
+++ b/noncore/settings/networksettings/ppp/connect.cpp
@@ -112,6 +112,6 @@ ConnectWidget::ConnectWidget(InterfacePPP *ifp, QWidget *parent, const char *nam
messg->setMinimumHeight(messg->sizeHint().height() + 5);
- int messw = (messg->sizeHint().width() * 12) / 10;
- messw = QMAX(messw,280);
- messg->setMinimumWidth(messw);
- messg->setText(i18n("Looking for modem..."));
+// int messw = (messg->sizeHint().width() * 12) / 10;
+// messw = QMAX(messw,280);
+// messg->setMinimumWidth(messw);
+ messg->setText(i18n("Offline"));
l0->addSpacing(10);
@@ -132,7 +132,7 @@ ConnectWidget::ConnectWidget(InterfacePPP *ifp, QWidget *parent, const char *nam
- int maxw = QMAX(cancel->sizeHint().width(),
- debug->sizeHint().width());
- maxw = QMAX(maxw,65);
- debug->setFixedWidth(maxw);
- cancel->setFixedWidth(maxw);
+// int maxw = QMAX(cancel->sizeHint().width(),
+// debug->sizeHint().width());
+// maxw = QMAX(maxw,65);
+// debug->setFixedWidth(maxw);
+// cancel->setFixedWidth(maxw);
l1->addWidget(debug);
@@ -140,3 +140,3 @@ ConnectWidget::ConnectWidget(InterfacePPP *ifp, QWidget *parent, const char *nam
- setFixedSize(sizeHint());
+// setFixedSize(sizeHint());
@@ -991,7 +991,6 @@ void ConnectWidget::cancelbutton() {
- this->hide();
- messg->setText("");
+
// p_kppp->quit_b->setFocus();
// p_kppp->show();
- emit stopAccounting(); // just to be sure
+// emit stopAccounting(); // just to be sure
// p_kppp->con_win->stopClock();
@@ -1006,4 +1005,3 @@ void ConnectWidget::cancelbutton() {
-// if(p_kppp->quitOnDisconnect())
-// qApp->exit(0);
+ messg->setText(tr("offline"));
}