Mercurial > hg > easyhg
diff src/hgrunner.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 | 319f920a51ee |
children | cd3dd285d0ff |
line wrap: on
line diff
--- a/src/hgrunner.cpp Wed Aug 17 15:53:17 2011 +0100 +++ b/src/hgrunner.cpp Wed Aug 17 16:09:04 2011 +0100 @@ -499,9 +499,6 @@ return; } - QSettings settings; - settings.beginGroup("General"); - if (executable == "") { // This is a Hg command executable = getHgBinaryName(); @@ -516,6 +513,7 @@ if (action.mayBeInteractive()) { params.push_front("ui.interactive=true"); params.push_front("--config"); + QSettings settings; if (settings.value("useextension", true).toBool()) { params = addExtensionOptions(params); }