From 97bea072c1fc31cc6c79a095840437d29a6ae8ee Mon Sep 17 00:00:00 2001 From: Rafael Date: Fri, 18 Nov 2016 14:30:01 +0100 Subject: [PATCH] Qt::Key_Exit isn't supported on Qt 5.2.1 (depend on 5.3 now) --- PictureDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PictureDialog.cpp b/PictureDialog.cpp index d3a950b..9497952 100755 --- a/PictureDialog.cpp +++ b/PictureDialog.cpp @@ -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;