mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Fixed broken rendering with QT5
This commit is contained in:
parent
a08a3d2bb4
commit
8a4b749d6b
@ -63,7 +63,7 @@ Section "GPXSee (required)" SEC_APP
|
|||||||
; Write the uninstall keys for Windows
|
; Write the uninstall keys for Windows
|
||||||
WriteRegStr HKCU "${REGENTRY}" "DisplayName" "GPXSee"
|
WriteRegStr HKCU "${REGENTRY}" "DisplayName" "GPXSee"
|
||||||
WriteRegStr HKCU "${REGENTRY}" "Publisher" "Martin Tuma"
|
WriteRegStr HKCU "${REGENTRY}" "Publisher" "Martin Tuma"
|
||||||
WriteRegStr HKCU "${REGENTRY}" "DisplayVersion" "1.0"
|
WriteRegStr HKCU "${REGENTRY}" "DisplayVersion" "1.1"
|
||||||
WriteRegStr HKCU "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
WriteRegStr HKCU "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||||
WriteRegDWORD HKCU "${REGENTRY}" "NoModify" 1
|
WriteRegDWORD HKCU "${REGENTRY}" "NoModify" 1
|
||||||
WriteRegDWORD HKCU "${REGENTRY}" "NoRepair" 1
|
WriteRegDWORD HKCU "${REGENTRY}" "NoRepair" 1
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#define APP_NAME "GPXSee"
|
#define APP_NAME "GPXSee"
|
||||||
#define APP_HOMEPAGE "http://tumic.wz.cz/gpxsee"
|
#define APP_HOMEPAGE "http://tumic.wz.cz/gpxsee"
|
||||||
#define APP_VERSION "1.0"
|
#define APP_VERSION "1.1"
|
||||||
|
|
||||||
#define FONT_FAMILY "Arial"
|
#define FONT_FAMILY "Arial"
|
||||||
#define FONT_SIZE 12
|
#define FONT_SIZE 12
|
||||||
|
@ -137,7 +137,9 @@ void Graph::loadData(const QVector<QPointF> &data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
pi = new QGraphicsPathItem(path);
|
pi = new QGraphicsPathItem(path);
|
||||||
pi->setPen(QPen(color));
|
QBrush brush(color, Qt::SolidPattern);
|
||||||
|
QPen pen(brush, 0);
|
||||||
|
pi->setPen(pen);
|
||||||
_scene->addItem(pi);
|
_scene->addItem(pi);
|
||||||
_graphs.append(pi);
|
_graphs.append(pi);
|
||||||
|
|
||||||
|
@ -54,7 +54,9 @@ void Track::loadGPX(const GPX &gpx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
pi = new QGraphicsPathItem(path);
|
pi = new QGraphicsPathItem(path);
|
||||||
pi->setPen(QPen(color));
|
QBrush brush(color, Qt::SolidPattern);
|
||||||
|
QPen pen(brush, 0);
|
||||||
|
pi->setPen(pen);
|
||||||
_scene->addItem(pi);
|
_scene->addItem(pi);
|
||||||
_trackPaths.append(pi);
|
_trackPaths.append(pi);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user