MessageDialog: press escape or titlebar close button to dismiss
authorShawn Rutledge <shawn.rutledge@digia.com>
Mon, 24 Feb 2014 14:54:57 +0000 (15:54 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 28 Feb 2014 11:44:11 +0000 (12:44 +0100)
commit743e5ff9e37a7ea4b13c2620725c87a21e3b9975
treeeec141358679804d367ac9e6cc0a1f3dd9ec0788
parent5738bb533b97a9e19c18373286b157ee4d443532
MessageDialog: press escape or titlebar close button to dismiss

QMessageBox is a bit special compared to other dialogs, but we don't
need it to be so special in QtQuick.Dialogs.  Also on OSX, cmd-period
will dismiss the dialog, regardless whether it is a QMessageBox or
the QML implementation.

Task-number: QTBUG-36227
Change-Id: I5dd43080600e9c3774990190bb401291efb8e742
Reviewed-by: Liang Qi <liang.qi@digia.com>
src/dialogs/DefaultMessageDialog.qml
src/widgets/qmessageboxhelper_p.h