mxcl/liblastfm — pull request #15 by mofr (2012-11-09 08:45:35+00:00)
Title: Update demos/demo3.cpp

You need to create QTimer instance, and connect to its timeout() signal. Single shots works only when event loop is started (app.exec).