Skip to content
Permalink
Browse files

Fix windows build warnings

  • Loading branch information
nyalldawson committed Feb 10, 2018
1 parent b6ad920 commit 9ce02ce4cc255e9d2daa9c1184a5f63482d82748
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/layertree/qgslayertreemodel.cpp
@@ -302,13 +302,13 @@ QVariant QgsLayerTreeModel::data( const QModelIndex &index, int role ) const

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

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

0 comments on commit 9ce02ce

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