mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-21 00:05:53 -04:00
Fix build error and warnings
This commit is contained in:
parent
7daa4b591e
commit
e54bc9aaed
@ -30,6 +30,10 @@ class QgsFeatureIterator;
|
||||
class CORE_EXPORT QgsAbstractCacheIndex
|
||||
{
|
||||
public:
|
||||
|
||||
/**
|
||||
* Constructor for QgsAbstractCacheIndex.
|
||||
*/
|
||||
QgsAbstractCacheIndex() = default;
|
||||
virtual ~QgsAbstractCacheIndex() = default;
|
||||
|
||||
|
@ -54,6 +54,9 @@ class CORE_EXPORT QgsColorScheme
|
||||
};
|
||||
Q_DECLARE_FLAGS( SchemeFlags, SchemeFlag )
|
||||
|
||||
/**
|
||||
* Constructor for QgsColorScheme.
|
||||
*/
|
||||
QgsColorScheme() = default;
|
||||
|
||||
virtual ~QgsColorScheme() = default;
|
||||
|
@ -4166,22 +4166,22 @@ QString QgsVectorLayer::metadata() const
|
||||
//
|
||||
myMetadata += R"(<p class="glossy">)" + tr( "Layer Spatial Reference System" ) + "</p>\n";
|
||||
myMetadata += QLatin1String( "<p>" );
|
||||
myMetadata += crs().toProj4().replace( '"', QLatin1String( R"( " )" ) );
|
||||
myMetadata += QLatin1String( " < / p > \n" );
|
||||
myMetadata += crs().toProj4().replace( '"', QLatin1String( " \"" ) );
|
||||
myMetadata += QLatin1String( "</p>\n" );
|
||||
|
||||
//
|
||||
// Display project (output) spatial ref system
|
||||
//
|
||||
//
|
||||
// Display project (output) spatial ref system
|
||||
//
|
||||
#if 0
|
||||
// TODO: disabled for now, will revisit later [MD]
|
||||
//myMetadata += "<tr> < td bgcolor = \"gray\">";
|
||||
myMetadata += "<p class=\"glossy\">" + tr( "Project (Output) Spatial Reference System" ) + "</p>\n";
|
||||
myMetadata += "<p>";
|
||||
myMetadata += coordinateTransform->destCRS().toProj4().replace( '"', " \"" );
|
||||
myMetadata += "</p>\n";
|
||||
// TODO: disabled for now, will revisit later [MD]
|
||||
//myMetadata += "<tr> < td bgcolor = \"gray\">";
|
||||
myMetadata += "<p class=\"glossy\">" + tr( "Project (Output) Spatial Reference System" ) + "</p>\n";
|
||||
myMetadata += "<p>";
|
||||
myMetadata += coordinateTransform->destCRS().toProj4().replace( '"', " \"" );
|
||||
myMetadata += "</p>\n";
|
||||
#endif
|
||||
}
|
||||
catch ( QgsCsException &cse )
|
||||
}
|
||||
catch ( QgsCsException &cse )
|
||||
{
|
||||
Q_UNUSED( cse );
|
||||
QgsDebugMsg( cse.what() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user