On Monday, September 12, 2011, D. Michael McIntyre wrote:

> I'll see what I can figure out...

OK, now I have empirical proof that lines I already suspected were causing the 
problem.  Score one for being methodical.


Index: src/gui/editors/segment/compositionview/CompositionView.cpp

-    m_segmentsDrawBuffer.resize(w, h);
-    m_artifactsDrawBuffer.resize(w, h);
+    m_segmentsDrawBuffer = m_segmentsDrawBuffer.copy(0, 0, w, h);
+    m_artifactsDrawBuffer = m_artifactsDrawBuffer.copy(0, 0, w, h);


m_segmentsDrawBuffer is a QPixmap.  QPixmap::resize() no longer exists.  The 
API docs say to replace

  pixmap.resize(width, height)

with

 pixmap = pixmap.copy(0, 0, width, height)


According to the docs, this was the way the conversion was supposed to be 
done.  I've looked at these lines several times, and I don't see any 
parameters out of order, type changes, or other things that might explain why 
what is supposed to be equivalent code is clearly not doing an equivalent job.
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to