From 1e1a56bb87ce051e7eb2b7e0539a6d914d292023 Mon Sep 17 00:00:00 2001 From: fourtf Date: Fri, 28 Feb 2020 19:52:15 +0100 Subject: [PATCH] fixed position of user icon head --- src/widgets/helper/NotebookButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/helper/NotebookButton.cpp b/src/widgets/helper/NotebookButton.cpp index 57f99c2e7..cfdf7d03f 100644 --- a/src/widgets/helper/NotebookButton.cpp +++ b/src/widgets/helper/NotebookButton.cpp @@ -102,7 +102,7 @@ void NotebookButton::paintEvent(QPaintEvent *event) remove.addEllipse(2 * a, 1 * a, 4 * a, 4 * a); path = path.subtracted(remove); - path.addEllipse(2.5 * a, 1.5 * a, 3 * a + 1, 3 * a); + path.addEllipse(2.5 * a, 1.5 * a, 3 * a, 3 * a); painter.fillPath(path, foreground); }