Qt::Key_Exit isn't supported on Qt 5.2.1 (depend on 5.3 now)

This commit is contained in:
Rafael 2016-11-18 14:30:01 +01:00
parent c01d7fcfae
commit 97bea072c1

View file

@ -182,7 +182,7 @@ bool PictureDialog::eventFilter(QObject *obj, QEvent *ev)
ui->cmdExport->click();
returnValue = true;
break;
#if QT_VERSION >= 0x050000
#if QT_VERSION >= 0x050300
case Qt::Key_Exit:
ui->cmdClose->click();
returnValue = true;