]> git.sesse.net Git - kdenlive/commitdiff
Always use solid yellow line as border of OnMonitorRectItem. There is no need to...
authorTill Theato <root@ttill.de>
Sat, 9 Oct 2010 20:22:15 +0000 (20:22 +0000)
committerTill Theato <root@ttill.de>
Sat, 9 Oct 2010 20:22:15 +0000 (20:22 +0000)
svn path=/trunk/kdenlive/; revision=4973

src/onmonitoritems/onmonitorrectitem.cpp

index 8031820bfb7a9454dfe1104f12a643b6e59b80ce..e25ae5d00af70d92a9fcf423770a0a941f09cb20 100644 (file)
@@ -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();