Don't draw resize handles on windows that aren't resizable

svn path=/trunk/KDE/kdebase/workspace/; revision=744065
This commit is contained in:
Casper Boemann 2007-12-02 16:38:38 +00:00
parent be1ae53757
commit b09357e1b0

View file

@ -404,6 +404,9 @@ void OxygenClient::paintEvent(QPaintEvent *e)
painter.drawArc(QRectF(x+w-9-0.6, y+h-9-0.6, 9, 9), 270*16, 90*16);
painter.drawLine(QPointF(x+4, y+h-0.6), QPointF(x+w-4, y+h-0.6));
if(!isResizable())
return;
// Draw the 3-dots resize handles
qreal cenY = frame.height() / 2 + x + 0.5;
qreal posX = frame.width() + y - 2.5;