avoid harder divisions by zero
BUG:178746 svn path=/trunk/KDE/kdelibs/; revision=902555
This commit is contained in:
parent
64eb25d5ef
commit
66bb0f6bda
@ -130,7 +130,7 @@ public:
|
||||
elementRect = QRectF(QPoint(0,0), meter->size());
|
||||
}
|
||||
|
||||
if (image->hasElement("hint-bar-stretch")) {
|
||||
if (image->hasElement("hint-bar-stretch") || !image->hasElement("bar-active-center")) {
|
||||
return elementRect;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user