mirror of https://github.com/vitalif/openscad
devicePixelRatio() is reported to not exist before Qt-5.0.2
parent
43088239e0
commit
52ceb71444
|
@ -40,7 +40,7 @@ public:
|
||||||
else this->cam.projection = Camera::PERSPECTIVE;
|
else this->cam.projection = Camera::PERSPECTIVE;
|
||||||
}
|
}
|
||||||
std::string getRendererInfo() const;
|
std::string getRendererInfo() const;
|
||||||
#if QT_VERSION >= 0x050000
|
#if QT_VERSION >= 0x050001
|
||||||
float getDPI() { return this->devicePixelRatio(); }
|
float getDPI() { return this->devicePixelRatio(); }
|
||||||
#endif
|
#endif
|
||||||
bool save(const char *filename);
|
bool save(const char *filename);
|
||||||
|
|
Loading…
Reference in New Issue