Mercurial > hg > easyhg
diff src/settingsdialog.cpp @ 484:896b7903e8f2
Make "Show all files" persistent (fixing #203), and rationalise some config group names (noting that "General" is actually the default group "" as it appears in the config file, not the name of a group called "General": that appears as "%General")
author | Chris Cannam |
---|---|
date | Wed, 17 Aug 2011 16:09:04 +0100 |
parents | 7e8688784980 |
children | 533519ebc0cb |
line wrap: on
line diff
--- a/src/settingsdialog.cpp Wed Aug 17 15:53:17 2011 +0100 +++ b/src/settingsdialog.cpp Wed Aug 17 16:09:04 2011 +0100 @@ -410,7 +410,7 @@ settings.remove("sshbinary"); settings.remove("extensionpath"); settings.endGroup(); - settings.beginGroup("General"); + settings.beginGroup(""); settings.remove("useextension"); settings.endGroup(); } @@ -439,7 +439,7 @@ m_sshPathLabel->setText(settings.value("sshbinary").toString()); m_extensionPathLabel->setText(settings.value("extensionpath").toString()); settings.endGroup(); - settings.beginGroup("General"); + settings.beginGroup(""); m_useExtension->setChecked(settings.value("useextension", true).toBool()); settings.endGroup(); } @@ -486,7 +486,7 @@ settings.setValue("sshbinary", m_sshPathLabel->text()); settings.setValue("extensionpath", m_extensionPathLabel->text()); settings.endGroup(); - settings.beginGroup("General"); + settings.beginGroup(""); settings.setValue("useextension", m_useExtension->isChecked()); settings.endGroup(); QDialog::accept();