summaryrefslogtreecommitdiff
authorzecke <zecke>2005-03-01 20:04:21 (UTC)
committer zecke <zecke>2005-03-01 20:04:21 (UTC)
commitbb6be9cbe75892a7cc1d7c234f1c48023f9c9592 (patch) (side-by-side diff)
tree0d517350be5926a2ac8bc5dc4c1bbf61f734ca2f
parent09c95ae28f4500ae0bb81f6ed305f877950626e8 (diff)
downloadopie-bb6be9cbe75892a7cc1d7c234f1c48023f9c9592.zip
opie-bb6be9cbe75892a7cc1d7c234f1c48023f9c9592.tar.gz
opie-bb6be9cbe75892a7cc1d7c234f1c48023f9c9592.tar.bz2
Allow to wait 6 seconds (instead of three) when initialising the modem
Diffstat (more/less context) (ignore 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
@@ -52,49 +52,49 @@ ModemCommands::ModemCommands(PPPData *pd, QWidget *parent, const char *name , bo
sv->setResizePolicy( QScrollView::AutoOneFit );
sv->setHScrollBarMode( QScrollView::AlwaysOff );
sv->setFrameShape( QFrame::NoFrame );
sv->addChild( mainW );
main->addWidget( sv );
// evil hack
mainW->setMaximumWidth( QApplication::desktop()->width() - 10 );
// toplevel layout
QVBoxLayout *tl = new QVBoxLayout( mainW, 10, 4);
// add grid + frame
QGridLayout *l1 = new QGridLayout(GRIDROWS, 4);
tl->addLayout(l1);
box = new QGroupBox(mainW, "box");
box->setMargin( 0 );
l1->addMultiCellWidget(box, row++, GRIDROWS, 0, 3);
// put slider and label into a separate H-Box
QHBoxLayout *l2 = new QHBoxLayout;
l1->addLayout(l2, row, 2);
lpreinitslider = new QLabel("MMMM", mainW);
FORMATSLIDERLABEL(lpreinitslider);
- QSlider *preinitslider = new QSlider(0, 300, 1, 0,
+ QSlider *preinitslider = new QSlider(0, 600, 1, 0,
QSlider::Horizontal, mainW);
// preinitslider->setFixedHeight(preinitslider->sizeHint().height());
connect(preinitslider, SIGNAL(valueChanged(int)),
lpreinitslider, SLOT(setNum(int)));
l2->addWidget(lpreinitslider, 0);
l2->addWidget(preinitslider, 1);
lpreinit = new QLabel(QObject::tr("Pre-init delay (sec/100):"), mainW);
l1->addWidget(lpreinit, row++, 1);
for(int i = 0; i < PPPData::NumInitStrings; i++) {
initstr[i] = new QLineEdit(mainW);
QLabel *initLabel = new QLabel(QObject::tr("Initialization string %1:").arg(i + 1),
mainW);
ADJUSTEDIT(initstr[i]);
l1->addWidget(initLabel, row, 1);
l1->addWidget(initstr[i], row++, 2);
}
QHBoxLayout *l3 = new QHBoxLayout;
l1->addLayout(l3, row, 2);
linitslider = new QLabel("MMMM", mainW);
FORMATSLIDERLABEL(linitslider);
QSlider *initslider = new QSlider(1, 300, 1, 0,