summaryrefslogtreecommitdiff
path: root/multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.cpp')
-rw-r--r--multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.cpp b/multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.cpp
new file mode 100644
index 00000000000..6b9ee999f9e
--- /dev/null
+++ b/multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.cpp
@@ -0,0 +1,23 @@
+$NetBSD: patch-modules_gui_qt4_main__interface.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/main_interface.cpp.orig 2015-02-26 20:21:25.000000000 +0000
++++ modules/gui/qt4/main_interface.cpp
+@@ -399,13 +399,13 @@ void MainInterface::createResumePanel( Q
+
+ CONNECT( resumeTimer, timeout(), this, hideResumePanel() );
+ CONNECT( cancel, clicked(), this, hideResumePanel() );
+- CONNECT( THEMIM->getIM(), resumePlayback(int64_t), this, showResumePanel(int64_t) );
++ CONNECT( THEMIM->getIM(), resumePlayback(putime_t), this, showResumePanel(putime_t) );
+ BUTTONACT( ok, resumePlayback() );
+
+ w->layout()->addWidget( resumePanel );
+ }
+
+-void MainInterface::showResumePanel( int64_t _time ) {
++void MainInterface::showResumePanel( putime_t _time ) {
+ int setting = var_InheritInteger( p_intf, "qt-continue" );
+
+ if( setting == 0 )