Merge pull request #315 from txtsd/display_scaling
Allow fractional DPI scaling
This commit is contained in:
		
				
					committed by
					
						 Sefa Eyeoglu
						Sefa Eyeoglu
					
				
			
			
				
	
			
			
			
						parent
						
							cd4851c98b
						
					
				
				
					commit
					fcf728f3b5
				
			| @@ -29,6 +29,10 @@ int main(int argc, char *argv[]) | ||||
|     QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); | ||||
| #endif | ||||
|  | ||||
| #if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) | ||||
|     QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough); | ||||
| #endif | ||||
|  | ||||
|     // initialize Qt | ||||
|     Application app(argc, argv); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user