Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, April 2008
QSettings: "General" forbidden as a group name ?


Message 1 in thread

Hi all,

I have no idea why the QSettings group name "General" is translated into "%General".
So I have a [%General] entry in my config file instead of [General].
Is there a reason for this strange behaviour ?

(Qt 4.2.2 / Linux 2.6.16)

-- 
 [ signature omitted ] 

Message 2 in thread

"General" group is not forbidden, it's used when an option has no group  
specified explicitly.

On Thu, 10 Apr 2008 20:22:03 +0400, Alexandre Oberlin <alxobr@xxxxxxxxx>  
wrote:
> Hi all,
>
> I have no idea why the QSettings group name "General" is translated into  
> "%General".
> So I have a [%General] entry in my config file instead of [General].
> Is there a reason for this strange behaviour ?
>
> (Qt 4.2.2 / Linux 2.6.16)

-- 
 [ signature omitted ] 

Message 3 in thread

Constantin Makshin écrivit:
> "General" group is not forbidden, it's used when an option has no group 
> specified explicitly.

OK. So I guess I should not have specified it.

Thank you,

-- 
 [ signature omitted ]