[Marble-commits] KDE/kdeedu/marble/src/lib

Dennis Nienhüser earthwings at gentoo.org
Sun Sep 26 14:34:19 CEST 2010


SVN commit 1179898 by nienhueser:

Make sure not to paint on some old image buffer to avoid visual glitches when the marble widget is disabled.

 M  +1 -0      MarbleWidget.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.cpp #1179897:1179898
@@ -803,6 +803,7 @@
                                      : QImage::Format_ARGB32_Premultiplied;
         // Paint to an intermediate image
         image = QImage( rect().size(), imageFormat );
+        image.fill( Qt::transparent );
         paintDevice = ℑ
     }
 


More information about the Marble-commits mailing list