From 6c50402423d91bf036d0c7628c6bffa009dfd5c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20T=C5=AFma?= Date: Mon, 23 Oct 2023 21:57:01 +0200 Subject: [PATCH] Display ferry line names --- src/map/ENC/style.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/ENC/style.cpp b/src/map/ENC/style.cpp index 6023a090..f74d0de3 100644 --- a/src/map/ENC/style.cpp +++ b/src/map/ENC/style.cpp @@ -155,7 +155,9 @@ void Style::lineStyle() _lines[TYPE(SLOTOP)] = Line(QPen(QColor("#797420"), 1, Qt::SolidLine)); _lines[TYPE(OBSTRN)] = Line(QPen(QColor("#000000"), 1.5, Qt::DotLine)); _lines[TYPE(FERYRT)] = Line(QImage(":/marine/ferry-line.png")); + _lines[TYPE(FERYRT)].setTextFontSize(Small); _lines[TYPE(I_FERYRT)] = Line(QImage(":/marine/ferry-line.png")); + _lines[TYPE(I_FERYRT)].setTextFontSize(Small); _lines[TYPE(RAILWY)] = Line(railroad()); _lines[TYPE(ROADWY)] = Line(QPen(QColor("#000000"), 2, Qt::SolidLine)); _lines[TYPE(GATCON)] = Line(QPen(QColor("#000000"), 2, Qt::SolidLine)); -- 2.11.4.GIT