Qt::Key_Exit isn't supported on Qt 5.2.1 (depend on 5.3 now)
This commit is contained in:
parent
c01d7fcfae
commit
97bea072c1
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ bool PictureDialog::eventFilter(QObject *obj, QEvent *ev)
|
||||||
ui->cmdExport->click();
|
ui->cmdExport->click();
|
||||||
returnValue = true;
|
returnValue = true;
|
||||||
break;
|
break;
|
||||||
#if QT_VERSION >= 0x050000
|
#if QT_VERSION >= 0x050300
|
||||||
case Qt::Key_Exit:
|
case Qt::Key_Exit:
|
||||||
ui->cmdClose->click();
|
ui->cmdClose->click();
|
||||||
returnValue = true;
|
returnValue = true;
|
||||||
|
|
Loading…
Reference in a new issue