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


Commits:
296dac62 by darshan jain at 2024-03-19T13:38:21+00:00
qt: CSDWindowButton: import org.videolan.vlc 0.1 library for rendering MainCtx

We have to import missing "org.videolan.vlc 0.1" library to access 
MainCtx
used in "MainCtx.osName", "MainCtx.Windows", and 
"MainCtx.Version" to
get Segoe Font icons according to Windows version.

Earlier, it is generating a qt warning: MainCtx is not defined
By this commit this gets resolved.

Fixes: #28341
Related Merge Request: !4984

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/CSDWindowButton.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/CSDWindowButton.qml
=====================================
@@ -20,6 +20,8 @@ import QtQuick.Controls 2.12
 import QtQuick.Templates 2.12 as T
 import QtQuick.Layouts 1.12
 
+import org.videolan.vlc 0.1
+
 import "."
 import "qrc:///style/"
 



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to