Skip to content

Commit

Permalink
Fix windows build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 10, 2018
1 parent b6ad920 commit 9ce02ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/layertree/qgslayertreemodel.cpp
Expand Up @@ -302,13 +302,13 @@ QVariant QgsLayerTreeModel::data( const QModelIndex &index, int role ) const


if ( !layer->abstract().isEmpty() ) if ( !layer->abstract().isEmpty() )
{ {
parts << QStringLiteral(); parts << QString();
const QStringList abstractLines = layer->abstract().split( "\n" ); const QStringList abstractLines = layer->abstract().split( "\n" );
for ( const auto &l : abstractLines ) for ( const auto &l : abstractLines )
{ {
parts << l.toHtmlEscaped(); parts << l.toHtmlEscaped();
} }
parts << QStringLiteral(); parts << QString();
} }


parts << "<i>" + layer->publicSource().toHtmlEscaped() + "</i>"; parts << "<i>" + layer->publicSource().toHtmlEscaped() + "</i>";
Expand Down

0 comments on commit 9ce02ce

Please sign in to comment.