Fix compatibility with QT4 in QTimer usage
This commit is contained in:
1 parent
fbb91b24f3
commit
3d76888a99
1 file changed
+2
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user