Remove unused check_gradient function
Found by ICC 14. I wonder how the other compilers didn't detect it. qpainter.cpp(119): warning #177: function "check_gradient" was declared but never referenced Change-Id: Ie94c04f1734e6d7bab6b540d763bb6e7c16e4cb9 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>bb10
parent
bb419ad87c
commit
2dfbf1bf03
|
|
@ -115,12 +115,6 @@ static inline QGradient::CoordinateMode coordinateMode(const QBrush &brush)
|
|||
return QGradient::LogicalMode;
|
||||
}
|
||||
|
||||
/* Returns true if the gradient requires stretch to device...*/
|
||||
static inline bool check_gradient(const QBrush &brush)
|
||||
{
|
||||
return coordinateMode(brush) == QGradient::StretchToDeviceMode;
|
||||
}
|
||||
|
||||
extern bool qHasPixmapTexture(const QBrush &);
|
||||
|
||||
static inline bool is_brush_transparent(const QBrush &brush) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue