[Interest] QSettings: no settings file
Thiago Macieira
thiago.macieira at intel.com
Wed Feb 19 17:12:55 CET 2014
Em qua 19 fev 2014, às 16:28:59, Sensei escreveu:
> instance_->settings_ = new QSettings(getPreferences() +
> "/0com.example.app", QSettings::NativeFormat);
>
>
> Am I missing something?
Where is that QSettings object destroyed? If it gets leaked, it might never
save anything.
Also, you should probably rewrite it without "new".
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list