Commit 4fd05c24 authored by Ludovic Fauvet's avatar Ludovic Fauvet

win32 build fix

parent f749ab2f
...@@ -91,7 +91,7 @@ void WorkflowFileRenderer::run() ...@@ -91,7 +91,7 @@ void WorkflowFileRenderer::run()
m_mainWorkflow->setFullSpeedRender( true ); m_mainWorkflow->setFullSpeedRender( true );
m_mainWorkflow->startRender( width, height ); m_mainWorkflow->startRender( width, height );
//Waiting for renderers to preload some frames: //Waiting for renderers to preload some frames:
sleep( 1 ); SleepS( 1 );
m_mediaPlayer->play(); m_mediaPlayer->play();
} }
......
...@@ -36,6 +36,12 @@ ...@@ -36,6 +36,12 @@
#define SleepMS( x ) Sleep( x ) #define SleepMS( x ) Sleep( x )
#endif #endif
#ifdef Q_WS_WIN
#define SleepS( x ) Sleep( (x) * 1000 )
#else
#define SleepS( x ) sleep( x )
#endif
enum ToolButtons enum ToolButtons
{ {
TOOL_DEFAULT, TOOL_DEFAULT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment