Diffstat (limited to 'noncore/apps/opie-console/modemconfigwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/modemconfigwidget.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/modemconfigwidget.cpp b/noncore/apps/opie-console/modemconfigwidget.cpp index 37eb184..f7fb6f3 100644 --- a/noncore/apps/opie-console/modemconfigwidget.cpp +++ b/noncore/apps/opie-console/modemconfigwidget.cpp | |||
@@ -132,13 +132,14 @@ void ModemConfigWidget::load( const Profile& prof ) { | |||
132 | } | 132 | } |
133 | 133 | ||
134 | 134 | ||
135 | 135 | atConf->readConfig( prof ); | |
136 | if ( prof.readEntry( "Device" ).isEmpty() ) { | 136 | if ( prof.readEntry( "Device" ).isEmpty() ) { |
137 | qWarning("device empty!"); | ||
137 | return; | 138 | return; |
138 | } | 139 | } |
139 | setCurrent( prof.readEntry( "Device" ), m_deviceCmb ); | 140 | setCurrent( prof.readEntry( "Device" ), m_deviceCmb ); |
140 | 141 | ||
141 | atConf->readConfig( prof ); | 142 | |
142 | } | 143 | } |
143 | 144 | ||
144 | /* | 145 | /* |
@@ -234,6 +235,10 @@ void ModemConfigWidget::save( Profile& prof ) { | |||
234 | 235 | ||
235 | void ModemConfigWidget::slotAT() { | 236 | void ModemConfigWidget::slotAT() { |
236 | // ATConfigDialog conf( this, "ATConfig", true ); | 237 | // ATConfigDialog conf( this, "ATConfig", true ); |
238 | // josef/Max I know why don't you create the stuff on the stack | ||
239 | // but making it a TopLevel Dialog and ignoring | ||
240 | // cancel is not fun either... | ||
241 | // what to do? FIXME!!! -zecke | ||
237 | atConf->showMaximized(); | 242 | atConf->showMaximized(); |
238 | if ( atConf->exec() != QDialog::Accepted ) { | 243 | if ( atConf->exec() != QDialog::Accepted ) { |
239 | // reload old settings | 244 | // reload old settings |