Diffstat (limited to 'noncore/settings/networksettings/ppp/modeminfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/modeminfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/modeminfo.cpp b/noncore/settings/networksettings/ppp/modeminfo.cpp index 8c81e67..4dbbcf5 100644 --- a/noncore/settings/networksettings/ppp/modeminfo.cpp +++ b/noncore/settings/networksettings/ppp/modeminfo.cpp @@ -84,48 +84,49 @@ ModemTransfer::ModemTransfer(QWidget *parent, const char *name) timeout_timer = new QTimer(this); connect(timeout_timer, SIGNAL(timeout()), SLOT(time_out_slot())); scripttimer = new QTimer(this); connect(scripttimer, SIGNAL(timeout()), SLOT(do_script())); timeout_timer->start(15000,TRUE); // 15 secs single shot QTimer::singleShot(500, this, SLOT(init())); } void ModemTransfer::ati_done() { scripttimer->stop(); timeout_timer->stop(); Modem::modem->closetty(); Modem::modem->unlockdevice(); hide(); // open the result window ModemInfo *mi = new ModemInfo(this); for(int i = 0; i < NUM_OF_ATI; i++) mi->setAtiString(i, ati_query_strings[i]); + mi->showMaximized(); mi->exec(); delete mi; accept(); } void ModemTransfer::time_out_slot() { timeout_timer->stop(); scripttimer->stop(); QMessageBox::warning(this, tr("Error"), i18n("Modem Query timed out.")); reject(); } void ModemTransfer::init() { qApp->processEvents(); int lock = Modem::modem->lockdevice(); if (lock == 1) { statusBar->setText(i18n("Modem device is locked.")); |