[Qt-interest] global variables new and delete
Ulf-Alexander v. Ceumern-Lindenstjerna
ceumern at vrmagic.com
Fri Sep 11 11:29:07 CEST 2009
> - program execution will be finished in line with "return a.exec();"
> do i need to replace this line just by "a.exec()" - without "return"?
This, or:
bool ret = a.exec();
delete globals::myPtr;
return ret;
regards
--
Ulf v. Ceumern
Dipl.-Inf.
VRmagic GmbH
Augustaanlage 32
68165 Mannheim, Germany
E-Mail: ceumern at vrmagic.com
Tel.: +49/621/400416-52
Fax: +49/621/400416-99
Steuernummer: 38189/54003
USt.IdNr.: DE217365947
Registergericht: Amtsgericht Mannheim, HRB 8958
Geschäftsführer: Norbert Hinckers, Dr. Markus Schill
--
More information about the Qt-interest-old
mailing list