We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent fb2279f commit 2671d67Copy full SHA for 2671d67
src/gui/qgscolorbuttonv2.cpp
@@ -571,6 +571,11 @@ void QgsColorButtonV2::setButtonBackground( const QColor color )
571
#endif
572
}
573
574
+ if ( !currentIconSize.isValid() )
575
+ {
576
+ return;
577
+ }
578
+
579
//create an icon pixmap
580
QPixmap pixmap( currentIconSize );
581
pixmap.fill( Qt::transparent );
0 commit comments