diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-04-07 11:20:24 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-04-07 11:20:24 +1000 |
| commit | ce31c41db1ae2be0f0f3186c94eb8bc4a93b260c (patch) | |
| tree | ab749610acce7b1ed80002c622728d0681673494 /qt/ScintillaEditBase/PlatQt.h | |
| parent | 33869bf8036e059df92468ae3efc80df4d246bbd (diff) | |
| download | scintilla-mirror-ce31c41db1ae2be0f0f3186c94eb8bc4a93b260c.tar.gz | |
Backport: Use const as avoids warning.
Backport of changeset 8127:3558673f7706.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
| -rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
