contains leaks...
Why put QFile on the heap at all?
If op wants to write/print QTextDocument, then he should familiarise himself with http://doc.qt.io/qt-4.8/qtextdocumentwriter
contains leaks...
Why put QFile on the heap at all?
If op wants to write/print QTextDocument, then he should familiarise himself with http://doc.qt.io/qt-4.8/qtextdocumentwriter
Last edited by amleto; 2nd August 2012 at 13:37.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks