Remove QPainter::HighQualityAntialiasing
This commit is contained in:
parent
da9d2f9417
commit
3927b3bf27
|
@ -114,7 +114,6 @@ void TrackSliderPopup::UpdatePixmap() {
|
|||
background_cache_.fill(Qt::transparent);
|
||||
QPainter p(&background_cache_);
|
||||
p.setRenderHint(QPainter::Antialiasing);
|
||||
p.setRenderHint(QPainter::HighQualityAntialiasing);
|
||||
|
||||
// Draw the shadow to a different image
|
||||
QImage blur_source(total_rect.size(), QImage::Format_ARGB32);
|
||||
|
@ -122,7 +121,6 @@ void TrackSliderPopup::UpdatePixmap() {
|
|||
|
||||
QPainter blur_painter(&blur_source);
|
||||
blur_painter.setRenderHint(QPainter::Antialiasing);
|
||||
blur_painter.setRenderHint(QPainter::HighQualityAntialiasing);
|
||||
blur_painter.setBrush(bg_color_2);
|
||||
blur_painter.drawRoundedRect(bubble_rect, kBorderRadius, kBorderRadius);
|
||||
blur_painter.drawPolygon(pointy);
|
||||
|
@ -159,7 +157,6 @@ void TrackSliderPopup::UpdatePixmap() {
|
|||
pixmap_.fill(Qt::transparent);
|
||||
QPainter p(&pixmap_);
|
||||
p.setRenderHint(QPainter::Antialiasing);
|
||||
p.setRenderHint(QPainter::HighQualityAntialiasing);
|
||||
|
||||
// Background
|
||||
p.drawPixmap(total_rect.topLeft(), background_cache_);
|
||||
|
|
Loading…
Reference in New Issue