PictureDialog again Qt4 compatibility

This commit is contained in:
Rafael 2016-04-18 07:23:19 +02:00
parent adb6a6d94e
commit 12c7e70171
1 changed files with 3 additions and 1 deletions

View File

@ -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;