summaryrefslogtreecommitdiff
path: root/noncore
authorjosef <josef>2002-10-18 17:14:27 (UTC)
committer josef <josef>2002-10-18 17:14:27 (UTC)
commit0f230c7120d49a1718fe3e442e1559968a21f00d (patch) (side-by-side diff)
treeb27ddd04c385d6c0eef4a91f010017fb9cfa6598 /noncore
parent12851a09a2761ca6e189f080e9ca69bf4974302f (diff)
downloadopie-0f230c7120d49a1718fe3e442e1559968a21f00d.zip
opie-0f230c7120d49a1718fe3e442e1559968a21f00d.tar.gz
opie-0f230c7120d49a1718fe3e442e1559968a21f00d.tar.bz2
- save at modem configuration when closing dialog
This is not ideal yet, but better than nothing. We might actually use the configured values rather than hardcoded defaults now :)
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/modemconfigwidget.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/modemconfigwidget.cpp b/noncore/apps/opie-console/modemconfigwidget.cpp
index 878b0cf..c0ab0fc 100644
--- a/noncore/apps/opie-console/modemconfigwidget.cpp
+++ b/noncore/apps/opie-console/modemconfigwidget.cpp
@@ -175,13 +175,16 @@ void ModemConfigWidget::save( Profile& prof ) {
prof.writeEntry( "Parity", parity );
prof.writeEntry( "Speed", speed );
prof.writeEntry( "Number", m_telNumber->text() );
+
+
+ atConf->writeConfig(prof);
}
void ModemConfigWidget::slotAT() {
// ATConfigDialog conf( this, "ATConfig", true );
atConf->showMaximized();
- if ( atConf->exec() == QDialog::Accepted ) {
- // atConf->writeConfig();
+ if ( atConf->exec() != QDialog::Accepted ) {
+ // reload old settings
}
}