[vlc-commits] [Git][videolan/vlc][master] qml: import all modules in `MainInterface`, and clarify the comment
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Apr 27 15:49:12 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
e588c08b by Fatih Uzunoglu at 2026-04-27T15:34:53+00:00
qml: import all modules in `MainInterface`, and clarify the comment
- - - - -
1 changed file:
- modules/gui/qt/maininterface/qml/MainInterface.qml
Changes:
=====================================
modules/gui/qt/maininterface/qml/MainInterface.qml
=====================================
@@ -16,8 +16,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-// NOTE: All imports used throughout the interface
-// must be imported here as well:
+// NOTE: All available modules used throughout the interface, at least the ones
+// that are unconditionally available, must be imported here as well, so
+// that if they can not be imported the interface can close gracefully:
import QtQml
import QtQml.Models
import QtQuick
@@ -32,6 +33,11 @@ import VLC.Style
import VLC.Util
import VLC.Playlist
import VLC.Player
+import VLC.Dialogs
+// import VLC.MediaLibrary
+import VLC.Menus
+import VLC.Network
+import VLC.PlayerControls
Item {
id: root
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e588c08b242f8f9762b28395dd871702ea35344e
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e588c08b242f8f9762b28395dd871702ea35344e
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list