Don't draw resize handles on windows that aren't resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=744065
This commit is contained in:
parent
be1ae53757
commit
b09357e1b0
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue