summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-09 20:18:41 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-09 20:18:41 (GMT)
commit84f6ab0ef5f72b1bcca8bf2fbed61850609aa20d (patch)
treeac65a6d5d699298ef0e4d23a872300ef2f35cfea
parent83f32cd936f30ff23ccdfa2863ea5fbbcb070bd1 (diff)
Align fonts between polygon and placemark debug drawing
-rw-r--r--src/lib/marble/layers/PlacemarkLayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/marble/layers/PlacemarkLayer.cpp b/src/lib/marble/layers/PlacemarkLayer.cpp
index adab0e1..31c2064 100644
--- a/src/lib/marble/layers/PlacemarkLayer.cpp
+++ b/src/lib/marble/layers/PlacemarkLayer.cpp
@@ -293,6 +293,7 @@ bool PlacemarkLayer::testXBug()
void PlacemarkLayer::renderDebug(GeoPainter *painter, ViewportParams *viewport, const QVector<VisiblePlacemark *> &placemarks)
{
painter->save();
+ painter->setFont(QFont(QStringLiteral("Sans Serif"), 7));
painter->setBrush(QBrush(Qt::NoBrush));
auto const latLonAltBox = viewport->viewLatLonAltBox();