Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#8512 - RbSettings: set parent of QSettings objects

Attached to Project: Rockbox
Opened by Sander Knopper (saknopper) - Friday, 25 January 2008, 11:46 GMT+2
Last edited by Dominik Wenger (Domonoky) - Wednesday, 30 January 2008, 20:46 GMT+2
Task Type Patches
Category Rbutil
Status Closed
Assigned To No-one
Player Type All players
Severity Medium
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

When creating a new QSettings object on the heap, play nice and set the parent object as it's supposed to be. This saves a memleak on application exit since the QSettings object is destroyed when RbSettings is.
   rbsettings-set-parent.patch (1 KiB)
 rbsettings.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

This task depends upon

Closed by  Dominik Wenger (Domonoky)
Wednesday, 30 January 2008, 20:46 GMT+2
Reason for closing:  Accepted

Loading...