FrameSvg corruption [a bit urgent]
Marco Martin
notmart at gmail.com
Fri Jan 16 11:19:10 CET 2009
On Friday 16 January 2009, Ivan Čukić wrote:
> Question:
>
> This is the current framesvg.cpp, the beginning of the updateSizes()
>
> ----------------
> void FrameSvgPrivate::updateSizes()
> {
> FrameData *frame = frames[prefix];
> Q_ASSERT(frame);
>
> QSize s = q->size();
> q->resize();
>
> frame->cachedBackground = QPixmap();
> frame->cachedMask = QRegion();
> ----------------
>
> We first store the size into s, and then do a q->resize(). Why?
>
> When those two lines switch places, so that s is the newest size,
> everything is ok. (I'll keep testing whether it is just accident)
to me the problem is still there
More information about the Plasma-devel
mailing list