[vlc-commits] [Git][videolan/vlc][master] qt: add missing accessibility check

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Sep 3 15:36:05 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
386cd56f by Fatih Uzunoglu at 2023-09-03T15:17:32+00:00
qt: add missing accessibility check

- - - - -


1 changed file:

- modules/gui/qt/maininterface/compositor_dcomp_uisurface.cpp


Changes:

=====================================
modules/gui/qt/maininterface/compositor_dcomp_uisurface.cpp
=====================================
@@ -255,7 +255,9 @@ bool CompositorDCompositionUISurface::init()
     connect(m_uiRenderControl, &QQuickRenderControl::renderRequested, this, &CompositorDCompositionUISurface::requestUpdate);
     connect(m_uiRenderControl, &QQuickRenderControl::sceneChanged, this, &CompositorDCompositionUISurface::requestUpdate);
 
+#if !defined(QT_NO_ACCESSIBILITY) && defined(QT5_DECLARATIVE_PRIVATE)
     QAccessible::installFactory(&compositionAccessibleFactory);
+#endif
 
     m_renderWindow->installEventFilter(this);
     return true;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/386cd56fd8d8b089f2f36fbdf8bfed079e4f26ff

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/386cd56fd8d8b089f2f36fbdf8bfed079e4f26ff
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list