[vlc-commits] qt: add player switch button to playercontrolbarmodel

Fatih Uzunoglu git at videolan.org
Thu Aug 27 12:44:58 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Thu Aug  6 22:43:09 2020 +0300| [f9527e3a99a4a44260bac3b778403f3189b565d5] | committer: Pierre Lamot

qt: add player switch button to playercontrolbarmodel

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9527e3a99a4a44260bac3b778403f3189b565d5
---

 modules/gui/qt/player/playercontrolbarmodel.cpp | 2 +-
 modules/gui/qt/player/playercontrolbarmodel.hpp | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/player/playercontrolbarmodel.cpp b/modules/gui/qt/player/playercontrolbarmodel.cpp
index c9ba166ca1..6dbe707f2e 100644
--- a/modules/gui/qt/player/playercontrolbarmodel.cpp
+++ b/modules/gui/qt/player/playercontrolbarmodel.cpp
@@ -46,7 +46,7 @@ static const PlayerControlBarModel::IconToolButton MINI_TB_DEFAULT[] = {
                                                                            {PlayerControlBarModel::LOOP_BUTTON},
                                                                            {PlayerControlBarModel::WIDGET_SPACER_EXTEND},
                                                                            {PlayerControlBarModel::VOLUME},
-                                                                           {PlayerControlBarModel::FULLSCREEN_BUTTON}
+                                                                           {PlayerControlBarModel::PLAYER_SWITCH_BUTTON}
                                                                        };
 
 
diff --git a/modules/gui/qt/player/playercontrolbarmodel.hpp b/modules/gui/qt/player/playercontrolbarmodel.hpp
index 23172bc2f6..e497ca51e3 100644
--- a/modules/gui/qt/player/playercontrolbarmodel.hpp
+++ b/modules/gui/qt/player/playercontrolbarmodel.hpp
@@ -67,6 +67,7 @@ public:
         CHAPTER_PREVIOUS_BUTTON,
         CHAPTER_NEXT_BUTTON,
         BUTTON_MAX,
+        PLAYER_SWITCH_BUTTON,
 
         SPLITTER = 0x20,
         VOLUME,



More information about the vlc-commits mailing list