Skip to content
Permalink
Browse files

[ui] remove original metadata row, duplicate of name

  • Loading branch information
nirvn committed Aug 17, 2018
1 parent 1f31a97 commit 805e7ec06dc6ba2d9e212929b06ab8d03a8923e0
Showing with 0 additions and 6 deletions.
  1. +0 −3 src/core/qgsvectorlayer.cpp
  2. +0 −3 src/core/raster/qgsrasterlayer.cpp
@@ -4158,9 +4158,6 @@ QString QgsVectorLayer::htmlMetadata() const
myMetadata += QStringLiteral( "<h1>" ) + tr( "Information from provider" ) + QStringLiteral( "</h1>\n<hr>\n" );
myMetadata += QLatin1String( "<table class=\"list-view\">\n" );

// original name
myMetadata += QStringLiteral( "<tr><td class=\"highlight\">" ) + tr( "Original" ) + QStringLiteral( "</td><td>" ) + name() + QStringLiteral( "</td></tr>\n" );

// name
myMetadata += QStringLiteral( "<tr><td class=\"highlight\">" ) + tr( "Name" ) + QStringLiteral( "</td><td>" ) + name() + QStringLiteral( "</td></tr>\n" );

@@ -312,9 +312,6 @@ QString QgsRasterLayer::htmlMetadata() const
myMetadata += QStringLiteral( "<h1>" ) + tr( "Information from provider" ) + QStringLiteral( "</h1>\n<hr>\n" );
myMetadata += QLatin1String( "<table class=\"list-view\">\n" );

// original name
myMetadata += QStringLiteral( "<tr><td class=\"highlight\">" ) + tr( "Original" ) + QStringLiteral( "</td><td>" ) + name() + QStringLiteral( "</td></tr>\n" );

// name
myMetadata += QStringLiteral( "<tr><td class=\"highlight\">" ) + tr( "Name" ) + QStringLiteral( "</td><td>" ) + name() + QStringLiteral( "</td></tr>\n" );

0 comments on commit 805e7ec

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