Fix compatibility with QT4 in QTimer usage

This commit is contained in:
jfmcarreira committed 2014-03-05 17:53:36 +00:00
1 parent fbb91b24f3
commit 3d76888a99
1 file changed
+2
+2
View File
@@ -64,7 +64,9 @@ plaYUVerApp::plaYUVerApp()
setUnifiedTitleAndToolBarOnMac( true );
playingTimer = new QTimer;
#if( QT_VERSION_PLAYUVER == 5 )
playingTimer->setTimerType( Qt::CoarseTimer );
#endif
connect( playingTimer, SIGNAL( timeout() ), this, SLOT( playEvent() ) );
setAcceptDrops( true );