pkgsrc-ng/multimedia/vlc/patches/patch-modules_gui_qt4_components_controller.cpp
2016-11-18 22:39:22 +01:00

19 lines
966 B
C++

$NetBSD: patch-modules_gui_qt4_components_controller.cpp,v 1.1 2015/10/25 11:00:18 wiz 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/controller.cpp.orig 2015-01-28 16:37:58.000000000 +0000
+++ modules/gui/qt4/components/controller.cpp
@@ -353,8 +353,8 @@ QWidget *AbstractController::createWidge
slider->setChapters( chapters );
/* Update the position when the IM has changed */
- CONNECT( THEMIM->getIM(), positionUpdated( float, int64_t, int ),
- slider, setPosition( float, int64_t, int ) );
+ CONNECT( THEMIM->getIM(), positionUpdated( float, putime_t, int ),
+ slider, setPosition( float, putime_t, int ) );
/* And update the IM, when the position has changed */
CONNECT( slider, sliderDragged( float ),
THEMIM->getIM(), sliderUpdate( float ) );