PictureDialog again Qt4 compatibility
This commit is contained in:
		
							parent
							
								
									adb6a6d94e
								
							
						
					
					
						commit
						12c7e70171
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -98,10 +98,12 @@ bool PictureDialog::eventFilter(QObject *obj, QEvent *ev)
 | 
			
		|||
                ui->cmdExport->click();
 | 
			
		||||
                returnValue = true;
 | 
			
		||||
                break;
 | 
			
		||||
            case Qt::Key_Exit:
 | 
			
		||||
#if QT_VERSION >= 0x050000
 | 
			
		||||
            case Qt::Key_Exit
 | 
			
		||||
                ui->cmdClose->click();
 | 
			
		||||
                returnValue = true;
 | 
			
		||||
                break;
 | 
			
		||||
#endif
 | 
			
		||||
            case Qt::Key_Enter: case Qt::Key_Return:
 | 
			
		||||
                on_labPicture_mouseDoubleClicked();
 | 
			
		||||
                returnValue = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue