Change-Id: Ib5fea95a37d2e4309e68e04320ba6ad097128a66
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
: mFontDb(new QGenericUnixFontDatabase())
, mEventDispatcher(createUnixEventDispatcher())
, mNativeInterface(new QWaylandNativeInterface(this))
+#ifndef QT_NO_ACCESSIBILITY
, mAccessibility(new QPlatformAccessibility())
+#else
+ , mAccessibility(0)
+#endif
{
QGuiApplicationPrivate::instance()->setEventDispatcher(mEventDispatcher);
mDisplay = new QWaylandDisplay();
{
delete mDrag;
delete mClipboard;
+#ifndef QT_NO_ACCESSIBILITY
delete mAccessibility;
+#endif
delete mNativeInterface;
delete mDisplay;
}