From 028d56f49a6adb06822ba5c5c74b00eaef90cc91 Mon Sep 17 00:00:00 2001 From: Till Theato Date: Sat, 9 Oct 2010 20:22:15 +0000 Subject: [PATCH] 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 --- src/onmonitoritems/onmonitorrectitem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.2