Finally getting the hang of UIs that work on Mac and elsewhere

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5587 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville
2015-06-11 17:01:12 +00:00
parent 221c8b168d
commit 598f8fa7a7
3 changed files with 15 additions and 2 deletions
-2
View File
@@ -54,7 +54,6 @@ void Astro::closeEvent (QCloseEvent * e)
void Astro::read_settings ()
{
SettingsGroup g (settings_, "Astro");
restoreGeometry (settings_->value ("geometry", saveGeometry ()).toByteArray ());
ui_->cbDopplerTracking->setChecked (settings_->value ("DopplerTracking",false).toBool ());
ui_->doppler_widget->setVisible (ui_->cbDopplerTracking->isChecked ());
m_DopplerMethod=settings_->value("DopplerMethod",0).toInt();
@@ -76,7 +75,6 @@ void Astro::read_settings ()
void Astro::write_settings ()
{
SettingsGroup g (settings_, "Astro");
settings_->setValue ("geometry", saveGeometry ());
settings_->setValue ("DopplerTracking", ui_->cbDopplerTracking->isChecked ());
settings_->setValue ("DopplerMethod",m_DopplerMethod);
settings_->setValue ("StepHz",m_stepHz);