openbsd-ports/geo/qgis/patches/patch-src_app_attributetable_qgsattributetabledelegate_cpp
landry 27e085c511 Update to QuantumGIS 1.7.0, been using it for some weeks without issues.
Add a bunch of patches to install/access the doc in the correct dir.
see release notes for details :
http://www.qgis.org/en/component/content/article/127-qgis-1-7-release.html
With feedback from okan@, thanks !
2011-07-07 20:34:27 +00:00

16 lines
716 B
Plaintext

$OpenBSD: patch-src_app_attributetable_qgsattributetabledelegate_cpp,v 1.4 2011/07/07 20:34:27 landry Exp $
Unroll some c++ too violent for g++3.3.
--- src/app/attributetable/qgsattributetabledelegate.cpp.orig Sun Jun 5 13:59:48 2011
+++ src/app/attributetable/qgsattributetabledelegate.cpp Mon Jun 27 15:28:09 2011
@@ -130,7 +130,9 @@ void QgsAttributeTableDelegate::paint( QPainter * pain
if ( option.state & QStyle::State_HasFocus )
{
QRect r = option.rect.adjusted( 1, 1, -1, -1 );
- QPen p( QBrush( QColor( 0, 255, 127 ) ), 2 );
+ QColor c = QColor( 0, 255, 127 );
+ QBrush b = QBrush( c );
+ QPen p( b, 2 );
painter->save();
painter->setPen( p );
painter->drawRect( r );