summaryrefslogtreecommitdiff
path: root/noncore/settings
Unidiff
Diffstat (limited to 'noncore/settings') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/modemcmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/modemcmds.cpp b/noncore/settings/networksettings/ppp/modemcmds.cpp
index e797795..3d15b96 100644
--- a/noncore/settings/networksettings/ppp/modemcmds.cpp
+++ b/noncore/settings/networksettings/ppp/modemcmds.cpp
@@ -64,25 +64,25 @@ ModemCommands::ModemCommands(PPPData *pd, QWidget *parent, const char *name , bo
64 QGridLayout *l1 = new QGridLayout(GRIDROWS, 4); 64 QGridLayout *l1 = new QGridLayout(GRIDROWS, 4);
65 tl->addLayout(l1); 65 tl->addLayout(l1);
66 box = new QGroupBox(mainW, "box"); 66 box = new QGroupBox(mainW, "box");
67 box->setMargin( 0 ); 67 box->setMargin( 0 );
68 l1->addMultiCellWidget(box, row++, GRIDROWS, 0, 3); 68 l1->addMultiCellWidget(box, row++, GRIDROWS, 0, 3);
69 69
70 // put slider and label into a separate H-Box 70 // put slider and label into a separate H-Box
71 QHBoxLayout *l2 = new QHBoxLayout; 71 QHBoxLayout *l2 = new QHBoxLayout;
72 l1->addLayout(l2, row, 2); 72 l1->addLayout(l2, row, 2);
73 lpreinitslider = new QLabel("MMMM", mainW); 73 lpreinitslider = new QLabel("MMMM", mainW);
74 FORMATSLIDERLABEL(lpreinitslider); 74 FORMATSLIDERLABEL(lpreinitslider);
75 75
76 QSlider *preinitslider = new QSlider(0, 300, 1, 0, 76 QSlider *preinitslider = new QSlider(0, 600, 1, 0,
77 QSlider::Horizontal, mainW); 77 QSlider::Horizontal, mainW);
78// preinitslider->setFixedHeight(preinitslider->sizeHint().height()); 78// preinitslider->setFixedHeight(preinitslider->sizeHint().height());
79 connect(preinitslider, SIGNAL(valueChanged(int)), 79 connect(preinitslider, SIGNAL(valueChanged(int)),
80 lpreinitslider, SLOT(setNum(int))); 80 lpreinitslider, SLOT(setNum(int)));
81 l2->addWidget(lpreinitslider, 0); 81 l2->addWidget(lpreinitslider, 0);
82 l2->addWidget(preinitslider, 1); 82 l2->addWidget(preinitslider, 1);
83 83
84 lpreinit = new QLabel(QObject::tr("Pre-init delay (sec/100):"), mainW); 84 lpreinit = new QLabel(QObject::tr("Pre-init delay (sec/100):"), mainW);
85 l1->addWidget(lpreinit, row++, 1); 85 l1->addWidget(lpreinit, row++, 1);
86 86
87 for(int i = 0; i < PPPData::NumInitStrings; i++) { 87 for(int i = 0; i < PPPData::NumInitStrings; i++) {
88 initstr[i] = new QLineEdit(mainW); 88 initstr[i] = new QLineEdit(mainW);