mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
Remove unused enum
This commit is contained in:
parent
1039ed12eb
commit
515ce71df2
@ -51,13 +51,6 @@ Raster namespace.
|
||||
IdentifyFormatFeature,
|
||||
};
|
||||
|
||||
enum RasterProgressType
|
||||
{
|
||||
ProgressHistogram,
|
||||
ProgressPyramids,
|
||||
ProgressStatistics
|
||||
};
|
||||
|
||||
enum RasterBuildPyramids
|
||||
{
|
||||
PyramidsFlagNo,
|
||||
|
@ -89,7 +89,6 @@ const int MAX_CACHE_SIZE = 50;
|
||||
|
||||
struct QgsGdalProgress
|
||||
{
|
||||
int type;
|
||||
QgsGdalProvider *provider = nullptr;
|
||||
QgsRasterBlockFeedback *feedback = nullptr;
|
||||
};
|
||||
@ -1939,7 +1938,6 @@ QgsRasterHistogram QgsGdalProvider::histogram( int bandNo,
|
||||
QgsDebugMsgLevel( QStringLiteral( "xSize() = %1 ySize() = %2 sampleSize = %3 bApproxOK = %4" ).arg( xSize() ).arg( ySize() ).arg( sampleSize ).arg( bApproxOK ), 2 );
|
||||
|
||||
QgsGdalProgress myProg;
|
||||
myProg.type = QgsRaster::ProgressHistogram;
|
||||
myProg.provider = this;
|
||||
myProg.feedback = feedback;
|
||||
|
||||
@ -2851,7 +2849,6 @@ QgsRasterBandStats QgsGdalProvider::bandStatistics( int bandNo, int stats, const
|
||||
double pdfMean;
|
||||
double pdfStdDev;
|
||||
QgsGdalProgress myProg;
|
||||
myProg.type = QgsRaster::ProgressHistogram;
|
||||
myProg.provider = this;
|
||||
myProg.feedback = feedback;
|
||||
|
||||
|
@ -63,14 +63,6 @@ class CORE_EXPORT QgsRaster
|
||||
IdentifyFormatFeature = 1 << 3, // WMS GML/JSON -> feature
|
||||
};
|
||||
|
||||
// Progress types
|
||||
enum RasterProgressType
|
||||
{
|
||||
ProgressHistogram = 0,
|
||||
ProgressPyramids = 1,
|
||||
ProgressStatistics = 2
|
||||
};
|
||||
|
||||
enum RasterBuildPyramids
|
||||
{
|
||||
PyramidsFlagNo = 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user