[vlc-devel] [PATCH 27/38] qt: add player switch button to playercontrolbarmodel

Fatih Uzunoglu fuzun54 at outlook.com
Thu Aug 20 19:55:36 CEST 2020


---
 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 b202f7b2dd..9284e40324 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,
-- 
2.25.1



More information about the vlc-devel mailing list