diff options
Diffstat (limited to 'multimedia/vlc2/patches/patch-modules_gui_qt4_components_interface__widgets.cpp')
-rw-r--r-- | multimedia/vlc2/patches/patch-modules_gui_qt4_components_interface__widgets.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/vlc2/patches/patch-modules_gui_qt4_components_interface__widgets.cpp b/multimedia/vlc2/patches/patch-modules_gui_qt4_components_interface__widgets.cpp new file mode 100644 index 00000000000..94231f96995 --- /dev/null +++ b/multimedia/vlc2/patches/patch-modules_gui_qt4_components_interface__widgets.cpp @@ -0,0 +1,24 @@ +$NetBSD: patch-modules_gui_qt4_components_interface__widgets.cpp,v 1.1 2018/04/25 22:39:02 kamil Exp $ + +Qt's MOC doesn't handle int64_t, so introduce a meaningful type name +so that slot/signal/connection macros work properly. + +--- modules/gui/qt4/components/interface_widgets.cpp.orig 2015-01-22 14:50:00.000000000 +0000 ++++ modules/gui/qt4/components/interface_widgets.cpp +@@ -759,13 +759,13 @@ TimeLabel::TimeLabel( intf_thread_t *_p_ + } + setAlignment( Qt::AlignRight | Qt::AlignVCenter ); + +- CONNECT( THEMIM->getIM(), positionUpdated( float, int64_t, int ), +- this, setDisplayPosition( float, int64_t, int ) ); ++ CONNECT( THEMIM->getIM(), positionUpdated( float, putime_t, int ), ++ this, setDisplayPosition( float, putime_t, int ) ); + + setStyleSheet( "QLabel { padding-left: 4px; padding-right: 4px; }" ); + } + +-void TimeLabel::setDisplayPosition( float pos, int64_t t, int length ) ++void TimeLabel::setDisplayPosition( float pos, putime_t t, int length ) + { + if( pos == -1.f ) + { |