public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in kde-base/kdelibs/files: kdelibs-4.3.2-fix-plasma-crash.patch
@ 2009-10-20 18:19 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; only message in thread
From: Tomas Chvatal (scarabeus) @ 2009-10-20 18:19 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/10/20 18:19:04

  Added:                kdelibs-4.3.2-fix-plasma-crash.patch
  Log:
  Revision bump. Apply patch that fixes mine plasma crash.
  (Portage version: 2.2_rc46/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  kde-base/kdelibs/files/kdelibs-4.3.2-fix-plasma-crash.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/files/kdelibs-4.3.2-fix-plasma-crash.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/files/kdelibs-4.3.2-fix-plasma-crash.patch?rev=1.1&content-type=text/plain

Index: kdelibs-4.3.2-fix-plasma-crash.patch
===================================================================
Index: branches/KDE/4.3/kdelibs/plasma/paintutils.cpp
===================================================================
--- branches/KDE/4.3/kdelibs/plasma/paintutils.cpp	(revision 1038147)
+++ branches/KDE/4.3/kdelibs/plasma/paintutils.cpp	(revision 1038148)
@@ -138,6 +138,10 @@
 
 QPixmap transition(const QPixmap &from, const QPixmap &to, qreal amount)
 {
+    if (from.isNull() || to.isNull()) {
+        return from;
+    }
+
     int value = int(0xff * amount);
 
     if (value == 0) {






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-20 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-20 18:19 [gentoo-commits] gentoo-x86 commit in kde-base/kdelibs/files: kdelibs-4.3.2-fix-plasma-crash.patch Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox