From: Till Theato Date: Sat, 9 Oct 2010 20:22:15 +0000 (+0000) Subject: Always use solid yellow line as border of OnMonitorRectItem. There is no need to... X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=028d56f49a6adb06822ba5c5c74b00eaef90cc91;p=kdenlive Always use solid yellow line as border of OnMonitorRectItem. There is no need to highlight the selected item by a black and white border. svn path=/trunk/kdenlive/; revision=4973 --- diff --git a/src/onmonitoritems/onmonitorrectitem.cpp b/src/onmonitoritems/onmonitorrectitem.cpp index 8031820b..e25ae5d0 100644 --- a/src/onmonitoritems/onmonitorrectitem.cpp +++ b/src/onmonitoritems/onmonitorrectitem.cpp @@ -228,7 +228,8 @@ void OnMonitorRectItem::slotMouseMoved(QGraphicsSceneMouseEvent* event) void OnMonitorRectItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { - QGraphicsRectItem::paint(painter, option, widget); + painter->setPen(pen()); + painter->drawRect(option->rect); if (m_enabled) { double handleSize = 6 / painter->matrix().m11();