Remove use of deprecated enum
This commit is contained in:
parent
4bcb423b02
commit
f5b8c9bb31
@ -140,8 +140,7 @@ public:
|
|||||||
{
|
{
|
||||||
static constexpr QPainter::RenderHint Hints[] = {QPainter::Antialiasing,
|
static constexpr QPainter::RenderHint Hints[] = {QPainter::Antialiasing,
|
||||||
QPainter::SmoothPixmapTransform,
|
QPainter::SmoothPixmapTransform,
|
||||||
QPainter::TextAntialiasing,
|
QPainter::TextAntialiasing};
|
||||||
QPainter::HighQualityAntialiasing};
|
|
||||||
|
|
||||||
auto hints = _painter.renderHints();
|
auto hints = _painter.renderHints();
|
||||||
for (const auto &hint : Hints) {
|
for (const auto &hint : Hints) {
|
||||||
|
Loading…
Reference in New Issue
Block a user