replaced qt font scaling
remove the qt font scaling and added code that uses the actual scale/dpi value
This commit is contained in:
+2
-1
@@ -44,7 +44,8 @@ inline bool initSettings(bool portable)
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// QApplication::setAttribute(Qt::AA_Use96Dpi, true);
|
||||
QApplication::setAttribute(Qt::AA_Use96Dpi, true);
|
||||
QApplication::setAttribute(Qt::AA_DisableHighDpiScaling, true);
|
||||
QApplication::setAttribute(Qt::AA_UseSoftwareOpenGL, true);
|
||||
QApplication a(argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user