Removed top white line on selection in ObjWidget (ubuntu)
git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@181 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
parent
39660003a2
commit
c0d1f41487
@ -533,7 +533,7 @@ void ObjWidget::paintEvent(QPaintEvent *event)
|
|||||||
}
|
}
|
||||||
painter.setPen(Qt::NoPen);
|
painter.setPen(Qt::NoPen);
|
||||||
painter.setBrush(QBrush(QColor(0,0,0,100)));
|
painter.setBrush(QBrush(QColor(0,0,0,100)));
|
||||||
painter.drawRect(0, 0, pixmap_.width(), top-1);
|
painter.drawRect(0, 0, pixmap_.width(), top);
|
||||||
painter.drawRect(0, top, left, bottom-top);
|
painter.drawRect(0, top, left, bottom-top);
|
||||||
painter.drawRect(right, top, pixmap_.width()-right, bottom-top);
|
painter.drawRect(right, top, pixmap_.width()-right, bottom-top);
|
||||||
painter.drawRect(0, bottom, pixmap_.width(), pixmap_.height()-bottom);
|
painter.drawRect(0, bottom, pixmap_.width(), pixmap_.height()-bottom);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user