Disable DPI scaling for good (#769)
This commit is contained in:
		
							parent
							
								
									35004921d3
								
							
						
					
					
						commit
						704c279f48
					
				@ -14,13 +14,6 @@ int main(int argc, char *argv[])
 | 
			
		||||
{
 | 
			
		||||
  qSetMessagePattern("%{type}: %{if-category}%{category}: %{endif}%{message}");
 | 
			
		||||
 | 
			
		||||
#if QT_VERSION > QT_VERSION_CHECK(5, 6, 0)
 | 
			
		||||
  // High-DPI support is for Qt version >=5.6.
 | 
			
		||||
  // However, many Linux distros still haven't brought their stable/LTS
 | 
			
		||||
  // packages up to Qt 5.6, so this is conditional.
 | 
			
		||||
  AOApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
  AOApplication main_app(argc, argv);
 | 
			
		||||
 | 
			
		||||
  AOApplication::addLibraryPath(AOApplication::applicationDirPath() + "/lib");
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user