Remove QPainter::HighQualityAntialiasing

This commit is contained in:
Jonas Kvinge 2020-07-18 04:26:19 +02:00
parent da9d2f9417
commit 3927b3bf27
1 changed files with 0 additions and 3 deletions

View File

@ -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_);