Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
0 additions
and
7 deletions.
-
+0
−7
src/core/qgsapplication.cpp
|
@@ -596,13 +596,6 @@ QCursor QgsApplication::getThemeCursor( Cursor cursor ) |
|
|
{ |
|
|
// Apply scaling |
|
|
float scale = Qgis::UI_SCALE_FACTOR * app->fontMetrics().height() / 32.0; |
|
|
#ifdef Q_OS_MACX |
|
|
if ( app->devicePixelRatio() >= 2 ) |
|
|
{ |
|
|
scale *= app->devicePixelRatio(); |
|
|
activeX = activeY = 8; |
|
|
} |
|
|
#endif |
|
|
cursorIcon = QCursor( icon.pixmap( std::ceil( scale * 32 ), std::ceil( scale * 32 ) ), std::ceil( scale * activeX ), std::ceil( scale * activeY ) ); |
|
|
} |
|
|
if ( app ) |
|
|