08-20-2012 09:49 AM - edited 08-20-2012 10:41 AM
Let say my setting file is empty. If I do that
QSettings settings; qDebug() << settings.value("test").isNull();
This returns True
Then if I do
The file insert the value, Test=
so If I reroll my first condition I get False now.
Is it me that doens't understand something or the behavior is wrong?
UPDATE: If I remove the = at the end of Test then it returns True.
Solved! Go to Solution.
08-20-2012 10:54 AM
Do you still have an issue?
You edited the question and I'm not sure if that means you found the solution or were trying to clarify -- but I don't see an "=" so if you have a question, please restate it.
There is also Qt documentation for QSettings: http://qt-project.org/doc/qt-4.8/qsettings.html#de