Use a QTimer object instead of QTimer::singleShot.
Use a QTimer object instead of QTimer::singleShot.

It seems using the static QTimer::singleShot function repeatedly causes a
segfault - see #42 and #43.

The-Compiler/pytest-qt,pytest-dev/pytest-qt