mirror of https://github.com/vitalif/openscad
devicePixelRatio() was introduced in Qt-5.1.0
parent
ca3ff7cf66
commit
1999898508
|
@ -39,7 +39,7 @@ public:
|
|||
else this->cam.projection = Camera::PERSPECTIVE;
|
||||
}
|
||||
std::string getRendererInfo() const;
|
||||
#if QT_VERSION >= 0x050001
|
||||
#if QT_VERSION >= 0x050100
|
||||
float getDPI() { return this->devicePixelRatio(); }
|
||||
#endif
|
||||
bool save(const char *filename);
|
||||
|
|
Loading…
Reference in New Issue