diff --git a/resources/data/world_map.gpkg b/resources/data/world_map.gpkg index 9d4634c0d5c..d9ed9fa107f 100644 Binary files a/resources/data/world_map.gpkg and b/resources/data/world_map.gpkg differ diff --git a/src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp b/src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp index c3647e2b828..f4c0f754fde 100644 --- a/src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp +++ b/src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp @@ -32,7 +32,7 @@ QgsLayerTreeOpacityWidget::QgsLayerTreeOpacityWidget( QgsMapLayer *layer ) : mLayer( layer ) { setAutoFillBackground( true ); // override the content from model - QLabel *l = new QLabel( QStringLiteral( "Opacity" ), this ); + QLabel *l = new QLabel( tr( "Opacity" ), this ); mSlider = new QSlider( Qt::Horizontal, this ); mSlider->setRange( 0, 1000 ); int sliderW = static_cast< int >( QFontMetricsF( font() ).width( 'X' ) * 16 * Qgis::UI_SCALE_FACTOR ); diff --git a/src/gui/qgsgradientcolorrampdialog.cpp b/src/gui/qgsgradientcolorrampdialog.cpp index 34d18a19a45..5fde59e18dd 100644 --- a/src/gui/qgsgradientcolorrampdialog.cpp +++ b/src/gui/qgsgradientcolorrampdialog.cpp @@ -113,25 +113,25 @@ QgsGradientColorRampDialog::QgsGradientColorRampDialog( const QgsGradientColorRa grid->attach( mPlot ); mLightnessCurve = new QwtPlotCurve(); - mLightnessCurve->setTitle( QStringLiteral( "Lightness" ) ); + mLightnessCurve->setTitle( tr( "Lightness" ) ); mLightnessCurve->setPen( QPen( QColor( 70, 150, 255 ), 0.0 ) ), mLightnessCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true ); mLightnessCurve->attach( mPlot ); mHueCurve = new QwtPlotCurve(); - mHueCurve->setTitle( QStringLiteral( "Hue" ) ); + mHueCurve->setTitle( tr( "Hue" ) ); mHueCurve->setPen( QPen( QColor( 255, 215, 70 ), 0.0 ) ), mHueCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true ); mHueCurve->attach( mPlot ); mSaturationCurve = new QwtPlotCurve(); - mSaturationCurve->setTitle( QStringLiteral( "Saturation" ) ); + mSaturationCurve->setTitle( tr( "Saturation" ) ); mSaturationCurve->setPen( QPen( QColor( 255, 70, 150 ), 0.0 ) ), mSaturationCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true ); mSaturationCurve->attach( mPlot ); mAlphaCurve = new QwtPlotCurve(); - mAlphaCurve->setTitle( QStringLiteral( "Opacity" ) ); + mAlphaCurve->setTitle( tr( "Opacity" ) ); mAlphaCurve->setPen( QPen( QColor( 50, 50, 50 ), 0.0 ) ), mAlphaCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true ); mAlphaCurve->attach( mPlot );