Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Moved] timerEvent, strange behavior after screen orientation change
borut123 last edited by
S60 5th edition, latest Qt from QT SDK TP (Qt 4.7.1), Nokia C5 phone.
I have a class MainView ( class MainView : public QDeclarativeView ),
which among other things also listens to timerEvent() and to resizeEvent().
void resizeEvent(QResizeEvent* event);
void timerEvent(QTimerEvent *event);
Everything works ok till I change the phone's orientation from landscape to portrait or vice versa.
After the screen rotation something triggers timerEvent() on very short time period (let's say it's about 100ms),
and this timerevent does not end till I use killTimer() to kill it.
Anybody knows where does this event come from (it is not triggered by my code)?