1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Scale artefacts fix

This commit is contained in:
Martin Tůma 2016-02-02 22:56:38 +01:00
parent 6acbf0d89f
commit 97a9dadd39

View File

@ -21,9 +21,7 @@ Track::Track(QWidget *parent)
setScene(_scene);
setCacheMode(QGraphicsView::CacheBackground);
setDragMode(QGraphicsView::ScrollHandDrag);
#ifdef Q_OS_MAC
setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
#endif // Q_OS_MAC
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);