mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
remove unused QX11Data::PatternFills::opaque member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
cb28f69c90
commit
fb68a28654
2 changed files with 0 additions and 3 deletions
|
@ -283,7 +283,6 @@ struct QX11Data
|
|||
XRenderColor bg_color;
|
||||
int screen;
|
||||
int style;
|
||||
bool opaque;
|
||||
Picture picture;
|
||||
} pattern_fills[pattern_fill_count];
|
||||
Picture getSolidFill(int screen, const QColor &c);
|
||||
|
|
|
@ -264,7 +264,6 @@ static Picture getPatternFill(int screen, const QBrush &b)
|
|||
|
||||
for (int i = 0; i < qt_x11Data->pattern_fill_count; ++i) {
|
||||
if (qt_x11Data->pattern_fills[i].screen == screen
|
||||
&& qt_x11Data->pattern_fills[i].opaque == false
|
||||
&& qt_x11Data->pattern_fills[i].style == b.style()
|
||||
&& qt_x11Data->pattern_fills[i].color.alpha == color.alpha
|
||||
&& qt_x11Data->pattern_fills[i].color.red == color.red
|
||||
|
@ -297,7 +296,6 @@ static Picture getPatternFill(int screen, const QBrush &b)
|
|||
qt_x11Data->pattern_fills[i].screen = screen;
|
||||
qt_x11Data->pattern_fills[i].color = color;
|
||||
qt_x11Data->pattern_fills[i].bg_color = bg_color;
|
||||
qt_x11Data->pattern_fills[i].opaque = false;
|
||||
qt_x11Data->pattern_fills[i].style = b.style();
|
||||
|
||||
XRenderFillRectangle(qt_x11Data->display, PictOpSrc, qt_x11Data->pattern_fills[i].picture, &bg_color, 0, 0, 8, 8);
|
||||
|
|
Loading…
Add table
Reference in a new issue