Commit b8181acf authored by Erwan Tulou's avatar Erwan Tulou

skins2(Win): fix a timer issue

Win32 API SetTimer is not a oneshot timer.
parent 035d5591
......@@ -70,11 +70,9 @@ void Win32Timer::execute()
// Execute the callback
m_rCommand.execute();
// Restart the timer if needed
if( ! m_oneShot )
{
start( m_interval, m_oneShot );
}
// Stop the timer if requested
if( m_oneShot )
stop();
}
#endif
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