svn path=/trunk/KDE/kdebase/apps/; revision=874948
{
QPainterPath path;
QRect rect = option->rect.adjusted(0, 0, -1, -1);
{
QPainterPath path;
QRect rect = option->rect.adjusted(0, 0, -1, -1);
+ const qreal radius = 5;
path.moveTo(rect.left(), rect.top() + radius);
arc(path, rect.left() + radius, rect.top() + radius, radius, 180, -90);
path.moveTo(rect.left(), rect.top() + radius);
arc(path, rect.left() + radius, rect.top() + radius, radius, 180, -90);
path.closeSubpath();
if (contents)
path.closeSubpath();
if (contents)
- *contents = rect.adjusted(10, 10, -10, -10);
+ *contents = rect.adjusted(radius, radius, -radius, -radius);