Skip to content

Commit 0930718

Browse files
committed
[needs-docs] Don't show embedded layers in italics
Since the new indicator shows this in a better, less visually noisy, way.
1 parent f633bbc commit 0930718

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/core/layertree/qgslayertreemodel.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ QVariant QgsLayerTreeModel::data( const QModelIndex &index, int role ) const
257257
else if ( role == Qt::FontRole )
258258
{
259259
QFont f( QgsLayerTree::isLayer( node ) ? mFontLayer : ( QgsLayerTree::isGroup( node ) ? mFontGroup : QFont() ) );
260-
if ( node->customProperty( QStringLiteral( "embedded" ) ).toInt() )
261-
f.setItalic( true );
262260
if ( index == mCurrentIndex )
263261
f.setUnderline( true );
264262
return f;

0 commit comments

Comments
 (0)