mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
19 lines
966 B
C++
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 ) );
|