[Uml-devel] KDE/kdesdk/umbrello/umbrello
    Oliver Kellogg 
    okellogg at users.sourceforge.net
       
    Sun May 20 15:47:59 UTC 2012
    
    
  
SVN commit 1295766 by okellogg:
exportViewToPixmap(): Add printing of width and height in debug message.
 M  +6 -1      umlviewimageexportermodel.cpp  
--- trunk/KDE/kdesdk/umbrello/umbrello/umlviewimageexportermodel.cpp #1295765:1295766
@@ -512,9 +512,14 @@
     UMLSceneRect rect = scene->diagramRect();
     QPixmap diagram(rect.width(), rect.height());
     scene->getDiagram(rect, diagram);
+    DEBUG(DBG_IEM) << "saving to file " << fileName << " , imageType=" << imageType << " successful=" << exportSuccessful;
     exportSuccessful = diagram.save(fileName, qPrintable(imageType.toUpper()));
 
-    DEBUG(DBG_IEM) << "saving to file " << fileName << " , imageType=" << imageType << " successful=" << exportSuccessful;
+    DEBUG(DBG_IEM) << "saving to file " << fileName
+                   << " , imageType=" << imageType
+		   << " , width=" << rect.width()
+		   << " , height=" << rect.height()
+		   << " , successful=" << exportSuccessful;
     return exportSuccessful;
 }
 
    
    
More information about the umbrello-devel
mailing list