set main window fullscreen
This commit is contained in:
		
							
								
								
									
										1
									
								
								main.cpp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								main.cpp
									
									
									
									
									
								
							@@ -146,6 +146,7 @@ int main(int argc, char *argv[]) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    MainWindow mw(&worker);
 | 
					    MainWindow mw(&worker);
 | 
				
			||||||
    mw.setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
 | 
					    mw.setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
 | 
				
			||||||
 | 
					    mw.setWindowState(Qt::WindowFullScreen);
 | 
				
			||||||
    mw.show();
 | 
					    mw.show();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return a.exec();
 | 
					    return a.exec();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user