[Lprof-devel] lprof/src/gammaqt setgamma.cpp,1.17,1.18
Brought to you by:
hvengel
From: Joe <jp...@us...> - 2006-03-26 21:53:15
|
Update of /cvsroot/lprof/lprof/src/gammaqt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22369/src/gammaqt Modified Files: setgamma.cpp Log Message: Changed from explicit call to destructor to conventional call to delete. Index: setgamma.cpp =================================================================== RCS file: /cvsroot/lprof/lprof/src/gammaqt/setgamma.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** setgamma.cpp 19 Mar 2006 21:59:01 -0000 1.17 --- setgamma.cpp 26 Mar 2006 21:53:12 -0000 1.18 *************** *** 120,129 **** SetGamma::~SetGamma() { ! help -> ~QAssistantClient(); ! RGB_button_group -> ~QButtonGroup(); ! GammaPix -> ~QPixmap(); ! ChartPix -> ~QPixmap(); ! RGB_button_group -> ~QButtonGroup(); ! } --- 120,136 ---- SetGamma::~SetGamma() { ! // help -> ~QAssistantClient(); ! // RGB_button_group -> ~QButtonGroup(); ! // GammaPix -> ~QPixmap(); ! // ChartPix -> ~QPixmap(); ! // RGB_button_group -> ~QButtonGroup(); ! delete help; ! help = 0; ! delete RGB_button_group; ! RGB_button_group = 0; ! delete GammaPix; ! GammaPix = 0; ! delete ChartPix; ! ChartPix = 0; } |