Code:
{ connect(Timer, SIGNAL(timeout()), this, SLOT(Update())); Timer->start(30); } void Stream::Update(){ ActualizarContadores(); if (IsFinal(streamUltimo)){ Timer->stop(); if(!Timer->isActive ()){ emit Finish(); } } }
Depending on OS and Hardware Finish signal () is issued more than once, ie on windows vista once it is issued is the idea of ​​2 or more consecutive xp.
Is there a mechanism to ensure that the signal is issued only once?
thanks