Skip to content

Commit

Permalink
Encode mdash in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Jun 7, 2020
1 parent 8e368b9 commit c9121f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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( '*' );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/raster/qgsrasterlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
Expand Down

0 comments on commit c9121f7

Please sign in to comment.