mirror of https://code.videolan.org/videolan/vlc
qt/player_controlbar_model: Rename 'Mainplayer' to 'Videoplayer'
This commit is contained in:
parent
999a8e9ad2
commit
282e6ac584
|
@ -27,7 +27,7 @@ decltype(ControlbarProfile::m_defaults)
|
|||
ControlbarProfile::m_defaults =
|
||||
{
|
||||
{
|
||||
PlayerControlbarModel::Mainplayer,
|
||||
PlayerControlbarModel::Videoplayer,
|
||||
{
|
||||
{
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ decltype (ControlbarProfileModel::m_defaults)
|
|||
N_("Minimalist Style"),
|
||||
{
|
||||
{
|
||||
PlayerControlbarModel::Mainplayer,
|
||||
PlayerControlbarModel::Videoplayer,
|
||||
{
|
||||
{
|
||||
{
|
||||
|
@ -105,7 +105,7 @@ decltype (ControlbarProfileModel::m_defaults)
|
|||
N_("One-liner Style"),
|
||||
{
|
||||
{
|
||||
PlayerControlbarModel::Mainplayer,
|
||||
PlayerControlbarModel::Videoplayer,
|
||||
{
|
||||
{
|
||||
{
|
||||
|
@ -180,7 +180,7 @@ decltype (ControlbarProfileModel::m_defaults)
|
|||
N_("Simplest Style"),
|
||||
{
|
||||
{
|
||||
PlayerControlbarModel::Mainplayer,
|
||||
PlayerControlbarModel::Videoplayer,
|
||||
{
|
||||
{
|
||||
{
|
||||
|
@ -234,7 +234,7 @@ decltype (ControlbarProfileModel::m_defaults)
|
|||
N_("Classic Style"),
|
||||
{
|
||||
{
|
||||
PlayerControlbarModel::Mainplayer,
|
||||
PlayerControlbarModel::Videoplayer,
|
||||
{
|
||||
{
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
decltype (PlayerControlbarModel::playerIdentifierDictionary)
|
||||
PlayerControlbarModel::playerIdentifierDictionary {
|
||||
{Mainplayer, N_("Main player")},
|
||||
{Videoplayer, N_("Video player")},
|
||||
{Audioplayer, N_("Audio player")},
|
||||
{Miniplayer, N_("Mini player")}
|
||||
};
|
||||
|
|
|
@ -41,12 +41,12 @@ public:
|
|||
// When there is a need to add a new Player, just
|
||||
// add its identifier in this enum and set QML buttons layout
|
||||
// identifier to it. Such as `property int identifier =
|
||||
// PlayerControlbarModel.Mainplayer`.
|
||||
// PlayerControlbarModel.Videoplayer`.
|
||||
// To make it translatable, add a corresponding entry to
|
||||
// the static member playerIdentifierDictionary which is
|
||||
// initialized in the source file.
|
||||
enum PlayerIdentifier {
|
||||
Mainplayer = 0,
|
||||
Videoplayer = 0,
|
||||
Audioplayer,
|
||||
Miniplayer
|
||||
};
|
||||
|
|
|
@ -547,7 +547,7 @@ FocusScope {
|
|||
|
||||
onRequestLockUnlockAutoHide: rootPlayer.lockUnlockAutoHide(lock, source)
|
||||
|
||||
identifier: (Player.hasVideoOutput) ? PlayerControlbarModel.Mainplayer
|
||||
identifier: (Player.hasVideoOutput) ? PlayerControlbarModel.Videoplayer
|
||||
: PlayerControlbarModel.Audioplayer
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue