From f60e20ef98d5776cf00e59016b98195258ae61f0 Mon Sep 17 00:00:00 2001 From: Uwe Date: Thu, 12 May 2022 06:43:29 +0200 Subject: [PATCH] [skip CI] [Gui] NaviCube.cpp revert a change from commit f70329390cea since the intended fix is not universal for all cube sizes, therefore leave the old pen width as compromise that obviously worked well (as strange as it is, restarting FC brings me everytime a different border width) --- src/Gui/NaviCube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/NaviCube.cpp b/src/Gui/NaviCube.cpp index 720c11a364..01126c31cc 100644 --- a/src/Gui/NaviCube.cpp +++ b/src/Gui/NaviCube.cpp @@ -368,7 +368,7 @@ GLuint NaviCubeImplementation::createCubeFaceTex(QtGLWidget* gl, float gap, cons QImage image(texSize, texSize, QImage::Format_ARGB32); image.fill(qRgba(255, 255, 255, 0)); QPainter paint; - QPen pen(Qt::black, 6 * m_BorderWidth); + QPen pen(Qt::black, 10); paint.begin(&image); paint.setRenderHints(QPainter::Antialiasing | QPainter::TextAntialiasing | QPainter::SmoothPixmapTransform);