fixed dpi not initializing when the window shows

This commit is contained in:
Daniel _
2017-09-23 18:37:51 +02:00
parent 14511e10ef
commit 206a3518b0
6 changed files with 46 additions and 9 deletions
+1
View File
@@ -32,6 +32,7 @@ protected:
#ifdef USEWINSDK
virtual bool nativeEvent(const QByteArray &eventType, void *message, long *result) override;
#endif
void initAsWindow();
private:
float dpiMultiplier = 1.f;