[vlc-devel] [PATCH] Fixed Santa hat not showing on cone after playback ends or is stopped even if it should
David Berdik
dgberdik at gmail.com
Tue Jan 5 20:09:32 UTC 2021
You're welcome! Hopefully this is merged into a release by December 2021! 🙂
I know it seems silly to submit a patch for something like this, but this
bug has annoyed me every December since it was first introduced. 😆
~ David G. Berdik
On Tue, Jan 5, 2021 at 7:52 AM Pierre Lamot <pierre at videolabs.io> wrote:
> 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" );
> > }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20210105/32fb3c6d/attachment.html>
More information about the vlc-devel
mailing list