You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							459 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							459 B
						
					
					
				| #include <sys/resource.h>
 | |
| 
 | |
| #include <QApplication>
 | |
| 
 | |
| #include "selfdrive/hardware/hw.h"
 | |
| #include "selfdrive/ui/qt/qt_window.h"
 | |
| #include "selfdrive/ui/qt/util.h"
 | |
| #include "selfdrive/ui/qt/window.h"
 | |
| 
 | |
| int main(int argc, char *argv[]) {
 | |
|   setpriority(PRIO_PROCESS, 0, -20);
 | |
| 
 | |
|   qInstallMessageHandler(swagLogMessageHandler);
 | |
|   initApp(argc, argv);
 | |
| 
 | |
|   QApplication a(argc, argv);
 | |
|   MainWindow w;
 | |
|   setMainWindow(&w);
 | |
|   a.installEventFilter(&w);
 | |
|   return a.exec();
 | |
| }
 | |
| 
 |