On 19/02/14 17:12, Thiago Macieira wrote: > 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".
You were definitely right, it was leaking! Thanks! _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest