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
|
||||
{
|
||||
public:
|
||||
explicit PreviewCumul(QObject *parent = 0):
|
||||
PreviewRenderer(parent),textures(0){}
|
||||
|
||||
void setTextures(TexturesDefinition* textures);
|
||||
void setLayer(int layer);
|
||||
|
||||
|
@ -17,7 +20,7 @@ protected:
|
|||
virtual Color getColor2D(double x, double y, double scaling);
|
||||
|
||||
private:
|
||||
TexturesDefinition* textures = 0;
|
||||
TexturesDefinition* textures;
|
||||
int layer;
|
||||
};
|
||||
|
||||
|
|
|
@ -8,6 +8,9 @@ class BasePreview;
|
|||
class PreviewLayerCoverage : public PreviewRenderer
|
||||
{
|
||||
public:
|
||||
explicit PreviewLayerCoverage(QObject *parent = 0):
|
||||
PreviewRenderer(parent),textures(0){}
|
||||
|
||||
void setTextures(TexturesDefinition* textures);
|
||||
void setLayer(int layer);
|
||||
|
||||
|
@ -17,7 +20,7 @@ protected:
|
|||
virtual Color getColor2D(double x, double y, double scaling);
|
||||
|
||||
private:
|
||||
TexturesDefinition* textures = 0;
|
||||
TexturesDefinition* textures;
|
||||
int layer;
|
||||
};
|
||||
|
||||
|
|
|
@ -8,6 +8,9 @@ class BasePreview;
|
|||
class PreviewLayerLook : public PreviewRenderer
|
||||
{
|
||||
public:
|
||||
explicit PreviewLayerLook(QObject *parent = 0):
|
||||
PreviewRenderer(parent),textures(0){}
|
||||
|
||||
void setTextures(TexturesDefinition* textures);
|
||||
void setLayer(int layer);
|
||||
|
||||
|
@ -17,7 +20,7 @@ protected:
|
|||
virtual Color getColor2D(double x, double y, double scaling);
|
||||
|
||||
private:
|
||||
TexturesDefinition* textures = 0;
|
||||
TexturesDefinition* textures;
|
||||
int layer;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue