Skip to content

Commit 9ce02ce

Browse files
committed
Fix windows build warnings
1 parent b6ad920 commit 9ce02ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/layertree/qgslayertreemodel.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,13 +302,13 @@ QVariant QgsLayerTreeModel::data( const QModelIndex &index, int role ) const
302302

303303
if ( !layer->abstract().isEmpty() )
304304
{
305-
parts << QStringLiteral();
305+
parts << QString();
306306
const QStringList abstractLines = layer->abstract().split( "\n" );
307307
for ( const auto &l : abstractLines )
308308
{
309309
parts << l.toHtmlEscaped();
310310
}
311-
parts << QStringLiteral();
311+
parts << QString();
312312
}
313313

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

0 commit comments

Comments
 (0)