aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/PlatQt.cpp
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-07-08 19:07:21 +1000
committerNeil <nyamatongwe@gmail.com>2020-07-08 19:07:21 +1000
commitced472457e3793a31c4e51fcc9a35b373f633d2b (patch)
tree37b5aae8b8b9891c5410100fa30725e009070c85 /qt/ScintillaEditBase/PlatQt.cpp
parent3073fd6f55dad53feb8d6d8dd34ee94dd7295164 (diff)
downloadscintilla-mirror-ced472457e3793a31c4e51fcc9a35b373f633d2b.tar.gz
Fix deprecated Qt call to use currently supported call.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.cpp')
-rw-r--r--qt/ScintillaEditBase/PlatQt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp
index 93dcacaf0..c91bfc89e 100644
--- a/qt/ScintillaEditBase/PlatQt.cpp
+++ b/qt/ScintillaEditBase/PlatQt.cpp
@@ -339,7 +339,7 @@ void SurfaceImpl::RoundedRectangle(PRectangle rc,
{
PenColour(fore);
BrushColour(back);
- GetPainter()->drawRoundRect(QRectFFromPRect(rc));
+ GetPainter()->drawRoundedRect(QRectFFromPRect(RectangleInset(rc, 0.5f)), 3.0f, 3.0f);
}
void SurfaceImpl::AlphaRectangle(PRectangle rc,