Gui: Make narrowing conversion float->int explicit

This commit is contained in:
Chris Hennes
2025-06-22 17:11:22 -05:00
parent f8ba2f6615
commit edca310fd3

View File

@@ -2698,7 +2698,7 @@ public:
}
#endif
QPixmap px(Gui::BitmapFactory().pixmapFromSvg(svgFile, size));
return QCursor(px, hotXF, hotYF);
return QCursor(px, static_cast<int>(hotXF), static_cast<int>(hotYF));
}
};
}