diff options
Diffstat (limited to 'ui/qt/widgets')
-rw-r--r-- | ui/qt/widgets/qcustomplot.cpp | 4 | ||||
-rw-r--r-- | ui/qt/widgets/splash_overlay.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/widgets/qcustomplot.cpp b/ui/qt/widgets/qcustomplot.cpp index cc29e1db5b..972b613886 100644 --- a/ui/qt/widgets/qcustomplot.cpp +++ b/ui/qt/widgets/qcustomplot.cpp @@ -657,7 +657,7 @@ QCPPaintBufferPixmap::~QCPPaintBufferPixmap() QCPPainter *QCPPaintBufferPixmap::startPainting() { QCPPainter *result = new QCPPainter(&mBuffer); - result->setRenderHint(QPainter::HighQualityAntialiasing); + result->setRenderHint(QPainter::Antialiasing); return result; } @@ -14738,7 +14738,7 @@ void QCustomPlot::paintEvent(QPaintEvent *event) QCPPainter painter(this); if (painter.isActive()) { - painter.setRenderHint(QPainter::HighQualityAntialiasing); // to make Antialiasing look good if using the OpenGL graphicssystem + painter.setRenderHint(QPainter::Antialiasing); // to make Antialiasing look good if using the OpenGL graphicssystem if (mBackgroundBrush.style() != Qt::NoBrush) painter.fillRect(mViewport, mBackgroundBrush); drawBackground(&painter); diff --git a/ui/qt/widgets/splash_overlay.cpp b/ui/qt/widgets/splash_overlay.cpp index 0ba729f0bd..92761d4344 100644 --- a/ui/qt/widgets/splash_overlay.cpp +++ b/ui/qt/widgets/splash_overlay.cpp @@ -55,7 +55,7 @@ SplashOverlay::SplashOverlay(QWidget *parent) : QColor bg = QColor(tango_aluminium_6); bg.setAlphaF(0.2); QPalette pal; - pal.setColor(QPalette::Background, bg); + pal.setColor(QPalette::Window, bg); setPalette(pal); setAutoFillBackground(true); |