Is QMovie::started not emitted, the first time a QMovie starts?
Solved
General and Desktop
-
Hello, I have the following code :
if(movie->isValid()) { movie->start(); } ... connect(movie, &QMovie::started, this, &QtDice::disableWidgets);
but
QtDice::disableWidgets
is called from the second time themovie->start
occurs. Anyone knows why the first time the slot isn't triggered?I have tried with other slots too
for example : QApplication::aboutQt
and the same thing happens. Only after the first time the slot is called, so it isn't a problem in my slot's code. -
Actually
connect(..)
should be beforemovie->start
. How easy was to make this mistake.