Make other widgets paint when zoomed out. (These 3 commits are just
commenting things out. The code will need to be removed once we are sure we do not need it.) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705868
This commit is contained in:
parent
d65ab52dd6
commit
44c1f66714
@ -65,7 +65,8 @@ QGraphicsItem* Widget::graphicsItem()
|
||||
bool Widget::Private::shouldPaint(QPainter *painter, const QTransform &transform)
|
||||
{
|
||||
qreal zoomLevel = painter->transform().m11() / transform.m11();
|
||||
return (fabs(zoomLevel - scalingFactor(Plasma::DesktopZoom))) < std::numeric_limits<double>::epsilon();
|
||||
//return (fabs(zoomLevel - scalingFactor(Plasma::DesktopZoom))) < std::numeric_limits<double>::epsilon();
|
||||
return true;
|
||||
}
|
||||
|
||||
Widget::Widget(QGraphicsItem *parent,QObject* parentObject)
|
||||
|
Loading…
Reference in New Issue
Block a user