[Uml-devel] kdesdk/umbrello/umbrello (silent)

Sebastian Stein seb.kde at hpfsc.de
Tue Jul 13 10:55:21 UTC 2004


CVS commit by sstein: 

CVS_SILENT

creating and destroying a pointer was a little bit overkill; thanks to Carsten Pfeiffer and André Woebbeking for pointing this out


  M +2 -3      uml.cpp   1.106


--- kdesdk/umbrello/umbrello/uml.cpp  #1.105:1.106
@@ -518,7 +518,6 @@ void UMLApp::readOptions() {
         config->setGroup("General Options");
         setImageMimetype(config->readEntry("imageMimetype","image/png"));
-        QSize * tmpQSize = new QSize(630,460);
-        resize( config->readSizeEntry("Geometry", tmpQSize) );
-        delete tmpQSize;
+        QSize tmpQSize(630,460);
+        resize( config->readSizeEntry("Geometry", & tmpQSize) );
 }
 ////////////////////////////////////////////////////////////////////////////////////////////////////






More information about the umbrello-devel mailing list