Skip to content
Permalink
Browse files

Encode mdash in one place

  • Loading branch information
elpaso authored and nyalldawson committed Jun 7, 2020
1 parent 8e368b9 commit c9121f73ab1b197bb83534190268f56daaf1bf92
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgisapp.cpp
  2. +1 −1 src/gui/raster/qgsrasterlayerproperties.cpp
@@ -547,7 +547,7 @@ static void setTitleBarText_( QWidget &qgisApp )
}
if ( !caption.isEmpty() )
{
caption += QStringLiteral( " — " );
caption += QStringLiteral( " %1 " ).arg( QChar( 0x2014 ) );
}
if ( QgsProject::instance()->isDirty() )
caption.prepend( '*' );
@@ -543,7 +543,7 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanv

mResetColorRenderingBtn->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionUndo.svg" ) ) );

QString title = QString( tr( "Layer Properties — %1" ) ).arg( lyr->name() );
QString title = tr( "Layer Properties — %1" ).arg( lyr->name() );

if ( !mRasterLayer->styleManager()->isDefault( mRasterLayer->styleManager()->currentStyle() ) )
title += QStringLiteral( " (%1)" ).arg( mRasterLayer->styleManager()->currentStyle() );

0 comments on commit c9121f7

Please sign in to comment.
You can’t perform that action at this time.