QtQuick.Dialogs: check for inheriting from QApplication
authorShawn Rutledge <shawn.rutledge@digia.com>
Fri, 27 Dec 2013 16:16:47 +0000 (17:16 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 29 Dec 2013 11:15:05 +0000 (12:15 +0100)
commit76952046ceccf2cd176a3452bc908cac769f90d9
tree511cb5d7ddd04769ca7478ba2e30f621b3a3faf7
parent88424bbd95e8ed469e312fe8afaf74bab2e609f9
QtQuick.Dialogs: check for inheriting from QApplication

Widget-based dialogs are allowed if the application is a
QApplication, but subclassing is OK too.

Task-number: QTBUG-35769
Change-Id: Iec329792d7c1d85adcb1c3542444f0e92792b20b
Reviewed-by: Liang Qi <liang.qi@digia.com>
src/imports/dialogs/plugin.cpp