Remove unused enum

This commit is contained in:
Nyall Dawson 2022-12-15 08:02:16 +10:00
parent 1039ed12eb
commit 515ce71df2
3 changed files with 0 additions and 18 deletions

View File

@ -51,13 +51,6 @@ Raster namespace.
IdentifyFormatFeature,
};
enum RasterProgressType
{
ProgressHistogram,
ProgressPyramids,
ProgressStatistics
};
enum RasterBuildPyramids
{
PyramidsFlagNo,

View File

@ -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;

View File

@ -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,