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.
Showing the changes to scripts (2 of 2 files). Show all
Unified · Split
| @@ -69,6 +69,11 @@ static inline QString qgettext(const QString& str) · 68 unmodified lines | ||
| 69 | 69 | return QString::fromLocal8Bit(gettext(str.latin1())); |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | +ConfigSettings::ConfigSettings() | |
| 73 | + : QSettings("kernel.org", "qconf") | |
| 74 | +{ | |
| 75 | +} | |
| 76 | + | |
| 72 | 77 | /** |
| 73 | 78 | * Reads a list of integer values from the application settings. |
| 74 | 79 | */ |
| @@ -32,6 +32,7 @@ class ConfigMainWindow; · 31 unmodified lines | ||
| 32 | 32 | |
| 33 | 33 | class ConfigSettings : public QSettings { |
| 34 | 34 | public: |
| 35 | + ConfigSettings(); | |
| 35 | 36 | Q3ValueList<int> readSizes(const QString& key, bool *ok); |
| 36 | 37 | bool writeSizes(const QString& key, const Q3ValueList<int>& value); |
| 37 | 38 | }; |