PictureDialog resize issue fixed
This commit is contained in:
		
							parent
							
								
									462242b4f0
								
							
						
					
					
						commit
						2a559d7fa4
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -106,7 +106,7 @@ void SnapmaticWidget::on_cmdView_clicked() | |||
|     QObject::connect(picDialog, SIGNAL(previousPictureRequested()), this, SLOT(dialogPreviousPictureRequested())); | ||||
| 
 | ||||
|     // show picture dialog
 | ||||
|     picDialog->showNormal(); | ||||
|     picDialog->show(); | ||||
|     picDialog->setMinimumSize(picDialog->size()); | ||||
|     picDialog->setMaximumSize(picDialog->size()); | ||||
|     picDialog->exec(); | ||||
|  |  | |||
							
								
								
									
										2
									
								
								main.cpp
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.cpp
									
										
									
									
									
								
							|  | @ -421,6 +421,8 @@ int main(int argc, char *argv[]) | |||
|         threadDB->start(); | ||||
| 
 | ||||
|         picDialog->show(); | ||||
|         picDialog->setMinimumSize(picDialog->size()); | ||||
|         picDialog->setMaximumSize(picDialog->size()); | ||||
| 
 | ||||
|         return a.exec(); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue