Use crosshair cursor inside the renderer

Mon, 20 Jun 2022 23:05:27 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Mon, 20 Jun 2022 23:05:27 +0300
changeset 246
86a35ce38773
parent 245
a41ccc6924e3
child 247
07ad61423c3c

Use crosshair cursor inside the renderer

src/gl/partrenderer.cpp file | annotate | diff | comparison | revisions
--- a/src/gl/partrenderer.cpp	Mon Jun 20 22:54:13 2022 +0300
+++ b/src/gl/partrenderer.cpp	Mon Jun 20 23:05:27 2022 +0300
@@ -47,6 +47,7 @@
 {
 	this->setMouseTracking(true);
 	this->setFocusPolicy(Qt::WheelFocus);
+	this->setCursor(Qt::CrossCursor);
 	QSurfaceFormat surfaceFormat;
 	surfaceFormat.setSamples(8);
 	this->setFormat(surfaceFormat);

mercurial