Merge pull request #125 from phedlund/no_menu_icons
Don't show icons in menus on Mac.
This commit is contained in:
		
						commit
						fb2755b0b4
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -83,6 +83,9 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
 | 
			
		||||
  QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
 | 
			
		||||
  QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
 | 
			
		||||
#ifdef Q_OS_MAC
 | 
			
		||||
  QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
  // Register needed metatypes.
 | 
			
		||||
  qRegisterMetaType<QList<Message> >("QList<Message>");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue