vlc | branch: master | Prince Gupta <[email protected]> | Fri Nov 20 23:26:53 2020 +0530| [ecf8d1db1dc73ee0a6eaf7b411b692631b432aa8] | committer: Pierre Lamot
qml: introduce MiniPlayerBottomMargin in MainInterface Signed-off-by: Pierre Lamot <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecf8d1db1dc73ee0a6eaf7b411b692631b432aa8 --- modules/gui/qt/Makefile.am | 1 + .../maininterface/qml/MiniPlayerBottomMargin.qml | 22 ++++++++++++++++++++++ modules/gui/qt/vlc.qrc | 1 + 3 files changed, 24 insertions(+) diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am index 3e5e3d163d..12cb152f2d 100644 --- a/modules/gui/qt/Makefile.am +++ b/modules/gui/qt/Makefile.am @@ -615,6 +615,7 @@ libqt_plugin_la_QML = \ gui/qt/maininterface/qml/BannerSources.qml \ gui/qt/maininterface/qml/MainInterface.qml \ gui/qt/maininterface/qml/MainDisplay.qml \ + gui/qt/maininterface/qml/MiniPlayerBottomMargin.qml \ gui/qt/maininterface/qml/NoMedialibHome.qml \ gui/qt/medialibrary/qml/ArtistTopBanner.qml \ gui/qt/medialibrary/qml/AudioGridItem.qml \ diff --git a/modules/gui/qt/maininterface/qml/MiniPlayerBottomMargin.qml b/modules/gui/qt/maininterface/qml/MiniPlayerBottomMargin.qml new file mode 100644 index 0000000000..eb96bbd102 --- /dev/null +++ b/modules/gui/qt/maininterface/qml/MiniPlayerBottomMargin.qml @@ -0,0 +1,22 @@ +/***************************************************************************** + * Copyright (C) 2020 VLC authors and VideoLAN + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * ( at your option ) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + *****************************************************************************/ +import QtQuick 2.11 + +Item { + height: miniPlayer.height +} diff --git a/modules/gui/qt/vlc.qrc b/modules/gui/qt/vlc.qrc index 7e69735d12..b5cca63622 100644 --- a/modules/gui/qt/vlc.qrc +++ b/modules/gui/qt/vlc.qrc @@ -180,6 +180,7 @@ <file alias="MainInterface.qml">maininterface/qml/MainInterface.qml</file> <file alias="MainDisplay.qml">maininterface/qml/MainDisplay.qml</file> <file alias="NoMedialibHome.qml">maininterface/qml/NoMedialibHome.qml</file> + <file alias="MiniPlayerBottomMargin.qml">maininterface/qml/MiniPlayerBottomMargin.qml</file> </qresource> <qresource prefix="/widgets"> <file alias="BannerTabButton.qml">widgets/qml/BannerTabButton.qml</file> _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
