Remove deprecated Qt constants
Qt has deprecated the following constants, this commit replaces them with their new equivalent/replacement: Qt::TextColorRole -> Qt::ForegroundRole Qt::BackgroundColorRole -> Qt::BackgroundRole QPainter::HighQualityAntialiasing -> QPainter::Antialiasing QPalette::Foreground -> QPalette::WindowText
This commit is contained in:
@@ -154,7 +154,7 @@ void SvgView::setRenderer(RendererType type)
|
||||
void SvgView::setHighQualityAntialiasing(bool highQualityAntialiasing)
|
||||
{
|
||||
#ifndef QT_NO_OPENGL
|
||||
setRenderHint(QPainter::HighQualityAntialiasing, highQualityAntialiasing);
|
||||
setRenderHint(QPainter::Antialiasing);
|
||||
#else
|
||||
Q_UNUSED(highQualityAntialiasing);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user