Update src/core/symbology/qgsstylemodel.cpp

This commit is contained in:
Nyall Dawson 2023-06-22 15:39:39 +10:00
parent f6f4d60c06
commit 1515da0771

View File

@ -138,7 +138,7 @@ QVariant QgsStyleModel::data( const QModelIndex &index, int role ) const
QString tooltip = QStringLiteral( "<h3>%1</h3><p><i>%2</i>" ).arg( name,
tags.count() > 0 ? tags.join( QLatin1String( ", " ) ) : tr( "Not tagged" ) );
// generate tooltips targetting the largest device pixel ratio for all attached screens
// generate tooltips for the largest device pixel ratio for all attached screens
QgsScreenProperties maxDevicePixelRatioScreen;
for ( auto it = mTargetScreenProperties.constBegin(); it != mTargetScreenProperties.constEnd(); ++it )
{