The simplest way to fix this without using delete it's just provide a parent in QFile's ctor.Qt Code:
... return; //memoy leak if a file can't be opened ...To copy to clipboard, switch view to plain text mode
The simplest way to fix this without using delete it's just provide a parent in QFile's ctor.Qt Code:
... return; //memoy leak if a file can't be opened ...To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks