mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI: draw the profile anti aliased
This seems to look much better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ef653b41f5
commit
87f1301f50
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ QMLProfile::QMLProfile(QQuickItem *parent) :
|
||||||
QQuickPaintedItem(parent),
|
QQuickPaintedItem(parent),
|
||||||
m_margin(0)
|
m_margin(0)
|
||||||
{
|
{
|
||||||
|
setAntialiasing(true);
|
||||||
m_profileWidget = new ProfileWidget2(0);
|
m_profileWidget = new ProfileWidget2(0);
|
||||||
m_profileWidget->setProfileState();
|
m_profileWidget->setProfileState();
|
||||||
m_profileWidget->setPrintMode(true);
|
m_profileWidget->setPrintMode(true);
|
||||||
|
|
Loading…
Reference in a new issue