[vlc-commits] [Git][videolan/vlc][master] qt: ModalDialog: Setting hideSource in the ShaderEffectSource

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Apr 12 17:20:52 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
aa81847c by darshan jain at 2024-04-12T16:40:51+00:00
qt: ModalDialog: Setting hideSource in the ShaderEffectSource

Refactor ModalDialog.qml to prevent duplicate rendering by setting ShaderEffectSource hideSource property to true.
This ensure the source item is not visible while applying the GaussianBlur effect.

Fixes: #28578

- - - - -


1 changed file:

- modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml


Changes:

=====================================
modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
=====================================
@@ -64,6 +64,7 @@ Dialog {
             source: ShaderEffectSource {
                 sourceItem: control.rootWindow
                 live: true
+                hideSource: true
             }
             radius: 12
         }



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/aa81847cc8569ce51b4393af474659954e4333f9
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