Fixed compile warning (regarding static members initialization)
This commit is contained in:
parent
81a27b1b39
commit
a7bc90a1a1
3 changed files with 12 additions and 3 deletions
|
@ -8,6 +8,9 @@ class BasePreview;
|
||||||
class PreviewCumul : public PreviewRenderer
|
class PreviewCumul : public PreviewRenderer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
explicit PreviewCumul(QObject *parent = 0):
|
||||||
|
PreviewRenderer(parent),textures(0){}
|
||||||
|
|
||||||
void setTextures(TexturesDefinition* textures);
|
void setTextures(TexturesDefinition* textures);
|
||||||
void setLayer(int layer);
|
void setLayer(int layer);
|
||||||
|
|
||||||
|
@ -17,7 +20,7 @@ protected:
|
||||||
virtual Color getColor2D(double x, double y, double scaling);
|
virtual Color getColor2D(double x, double y, double scaling);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TexturesDefinition* textures = 0;
|
TexturesDefinition* textures;
|
||||||
int layer;
|
int layer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,9 @@ class BasePreview;
|
||||||
class PreviewLayerCoverage : public PreviewRenderer
|
class PreviewLayerCoverage : public PreviewRenderer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
explicit PreviewLayerCoverage(QObject *parent = 0):
|
||||||
|
PreviewRenderer(parent),textures(0){}
|
||||||
|
|
||||||
void setTextures(TexturesDefinition* textures);
|
void setTextures(TexturesDefinition* textures);
|
||||||
void setLayer(int layer);
|
void setLayer(int layer);
|
||||||
|
|
||||||
|
@ -17,7 +20,7 @@ protected:
|
||||||
virtual Color getColor2D(double x, double y, double scaling);
|
virtual Color getColor2D(double x, double y, double scaling);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TexturesDefinition* textures = 0;
|
TexturesDefinition* textures;
|
||||||
int layer;
|
int layer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,9 @@ class BasePreview;
|
||||||
class PreviewLayerLook : public PreviewRenderer
|
class PreviewLayerLook : public PreviewRenderer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
explicit PreviewLayerLook(QObject *parent = 0):
|
||||||
|
PreviewRenderer(parent),textures(0){}
|
||||||
|
|
||||||
void setTextures(TexturesDefinition* textures);
|
void setTextures(TexturesDefinition* textures);
|
||||||
void setLayer(int layer);
|
void setLayer(int layer);
|
||||||
|
|
||||||
|
@ -17,7 +20,7 @@ protected:
|
||||||
virtual Color getColor2D(double x, double y, double scaling);
|
virtual Color getColor2D(double x, double y, double scaling);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TexturesDefinition* textures = 0;
|
TexturesDefinition* textures;
|
||||||
int layer;
|
int layer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue