[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/libs/plasma/widgets
From: Marco Martin <notmart () gmail ! com>
Date: 2008-10-28 8:29:40
Message-ID: 1225182580.323965.18346.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 876828 by mart:
don't try to paint when there is no image
M +5 -0 meter.cpp
--- trunk/KDE/kdebase/workspace/libs/plasma/widgets/meter.cpp #876827:876828
@@ -343,6 +343,11 @@
{
Q_UNUSED(option)
Q_UNUSED(widget)
+
+ if (!d->image) {
+ return;
+ }
+
QRectF rect(QPointF(0, 0), size());
QRectF clipRect;
qreal percentage = 0.0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic