From edca310fd359dc800f305ea5f58c1ae334e68eef Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sun, 22 Jun 2025 17:11:22 -0500 Subject: [PATCH] Gui: Make narrowing conversion float->int explicit --- src/Gui/CommandView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index c657289ee7..26eb5434fc 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -2698,7 +2698,7 @@ public: } #endif QPixmap px(Gui::BitmapFactory().pixmapFromSvg(svgFile, size)); - return QCursor(px, hotXF, hotYF); + return QCursor(px, static_cast(hotXF), static_cast(hotYF)); } }; }