[vlc-devel] [PATCH] Fixed Santa hat not showing on cone after playback ends or is stopped even if it should
Pierre Lamot
pierre at videolabs.io
Tue Jan 5 12:52:03 UTC 2021
Hi,
Patch looks good to me,
thanks you
On 2020-12-30 03:57, David Berdik wrote:
> ---
> modules/gui/qt/components/interface_widgets.cpp | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/modules/gui/qt/components/interface_widgets.cpp
> b/modules/gui/qt/components/interface_widgets.cpp
> index 78dbc2f9c3..ced7d9f8c7 100644
> --- a/modules/gui/qt/components/interface_widgets.cpp
> +++ b/modules/gui/qt/components/interface_widgets.cpp
> @@ -35,6 +35,7 @@
>
> #include "menus.hpp" /* Popup menu on bgWidget */
>
> +#include <QDate>
> #include <QLabel>
> #include <QToolButton>
> #include <QPalette>
> @@ -445,6 +446,8 @@ void BackgroundWidget::titleUpdated( const QString&
> title )
> i_pos + 5 == title.indexOf( "Bi" /* directional */ "ll",
> i_pos, Qt::CaseInsensitive ) )
> updateDefaultArt( ":/logo/vlc128-kb.png" );
> + else if( QDate::currentDate().dayOfYear() >= QT_XMAS_JOKE_DAY
> )
> + updateDefaultArt( ":/logo/vlc128-xmas.png" );
> else
> updateDefaultArt( ":/logo/vlc128.png" );
> }
More information about the vlc-devel
mailing list