Skip to content
Permalink
Browse files

yet another Qt 4.3 fix

git-svn-id: http://svn.osgeo.org/qgis/trunk@12203 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 20, 2009
1 parent 12f3400 commit 7f7de2f70fb2bbd819c9e4d48727f1c6c2296e34
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/qgscolorbutton.cpp
@@ -90,7 +90,11 @@ void QgsColorButtonV2::setColor( const QColor &color )
p.setPen(Qt::NoPen);
p.setRenderHint(QPainter::Antialiasing);
p.setBrush(color);
#if QT_VERSION >= 0x040400
p.drawRoundedRect(rect, 4, 4);
#else
p.drawRect(rect);
#endif
p.end();

// set this pixmap as icon

0 comments on commit 7f7de2f

Please sign in to comment.