macos related fixes
This commit is contained in:
		
							parent
							
								
									5bad3b2db7
								
							
						
					
					
						commit
						b9b1cb07d1
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		|  | @ -16,10 +16,6 @@ | |||
| 
 | ||||
| #include <QTextCodec> | ||||
| 
 | ||||
| #if defined(Q_OS_MACOS) | ||||
| extern void disableWindowTabbing(); | ||||
| #endif | ||||
| 
 | ||||
| int main(int argc, char* argv[]) { | ||||
|   qSetMessagePattern(QSL("time=\"%{time process}\" type=\"%{type}\" -> %{message}")); | ||||
| 
 | ||||
|  | @ -51,7 +47,6 @@ int main(int argc, char* argv[]) { | |||
| 
 | ||||
| #if defined(Q_OS_MACOS) | ||||
|   QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); | ||||
|   disableWindowTabbing(); | ||||
| #endif | ||||
| 
 | ||||
|   // We create our own "arguments" list as Qt strips something
 | ||||
|  | @ -116,7 +111,8 @@ int main(int argc, char* argv[]) { | |||
|   main_window.tabWidget()->feedMessageViewer()->respondToMainWindowResizes(); | ||||
|   main_window.tabWidget()->feedMessageViewer()->feedsView()->loadAllExpandStates(); | ||||
| 
 | ||||
|   qApp->parseCmdArgumentsFromOtherInstance(qApp->cmdParser()->positionalArguments().join(QSL(ARGUMENTS_LIST_SEPARATOR))); | ||||
|   qApp | ||||
|     ->parseCmdArgumentsFromOtherInstance(qApp->cmdParser()->positionalArguments().join(QSL(ARGUMENTS_LIST_SEPARATOR))); | ||||
| 
 | ||||
|   return Application::exec(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue