Is QMovie::started not emitted, the first time a QMovie starts?
-
Hello, I have the following code :
if(movie->isValid()) { movie->start(); } ... connect(movie, &QMovie::started, this, &QtDice::disableWidgets);but
QtDice::disableWidgetsis called from the second time themovie->startoccurs. Anyone knows why the first time the slot isn't triggered?I have tried with other slots too
for example : QApplication::aboutQtand 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.