summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/qconf.cc
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2013-10-06 20:21:31 +0200
committerYann E. MORIN <yann.morin.1998@free.fr>2013-10-08 23:52:16 +0200
commit00d4f8fc2c729b1baf723cacd2b5942b032b6784 (patch)
treedae8c6a4797d1d10228907264f3034f9c75e4fb6 /scripts/kconfig/qconf.cc
parentkconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len (diff)
downloadlinux-00d4f8fc2c729b1baf723cacd2b5942b032b6784.tar.xz
linux-00d4f8fc2c729b1baf723cacd2b5942b032b6784.zip
xconfig: Fix the filename for GUI settings
Currently the qconf program invoked by 'make xconfig' stores GUI settings in the file ~/.config/Unknown\ Organization.conf. This name is apparently generated by the QSettings class when no organisation or application name are specified. This is obviously not a sensible filename (nor does it seem sensible that these QSettings parameters are optional!). Pass the names 'kernel.org' and 'qconf', resuling in the filename ~/.config/kernel.org/qconf.conf. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts/kconfig/qconf.cc')
-rw-r--r--scripts/kconfig/qconf.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 1500c38f0cca..9d3b04b0769c 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -69,6 +69,11 @@ static inline QString qgettext(const QString& str)
return QString::fromLocal8Bit(gettext(str.latin1()));
}
+ConfigSettings::ConfigSettings()
+ : QSettings("kernel.org", "qconf")
+{
+}
+
/**
* Reads a list of integer values from the application settings.
*/