[vlc-commits] [Git][videolan/vlc][master] qt: fix --no-qt-privacy-ask being ignored

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Oct 27 18:47:48 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
7a3b9a9a by Wassim Lalaoui at 2025-10-27T18:33:24+00:00
qt: fix --no-qt-privacy-ask being ignored

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/qt/maininterface/mainctx.cpp
=====================================
@@ -239,7 +239,7 @@ MainCtx::MainCtx(qt_intf_t *_p_intf)
     /* Register callback for the intf-popupmenu variable */
     var_AddCallback( libvlc, "intf-popupmenu", PopupMenuCB, p_intf );
 
-    if( config_GetInt("qt-privacy-ask") )
+    if( var_InheritBool( p_intf, "qt-privacy-ask") )
     {
         //postpone dialog call, as composition might not be ready yet
         QMetaObject::invokeMethod(this, [](){
@@ -357,7 +357,7 @@ bool MainCtx::useClientSideDecoration() const
 }
 
 bool MainCtx::hasFirstrun() const {
-    return config_GetInt( "qt-privacy-ask" );
+    return var_InheritBool(p_intf,  "qt-privacy-ask" );
 }
 
 void MainCtx::setUseGlobalShortcuts( bool useShortcuts )



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

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