From ce31c41db1ae2be0f0f3186c94eb8bc4a93b260c Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 7 Apr 2020 11:20:24 +1000 Subject: Backport: Use const as avoids warning. Backport of changeset 8127:3558673f7706. --- qt/ScintillaEditBase/PlatQt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt/ScintillaEditBase/PlatQt.h') diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index fb323b010..0243de444 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -128,7 +128,7 @@ public: void BrushColour(ColourDesired back); void SetCodec(const Font &font); - void SetFont(Font &font); + void SetFont(const Font &font); QPaintDevice *GetPaintDevice(); void SetPainter(QPainter *painter); -- cgit v1.2.3