[quote author="Volker" date="1312841948"]
As a side note:
Don't use a QLabel and show for your error message. Have a look at [[Doc:QMessageBox]], especially at the static convenience methods to show a nice error box.
[/quote]
Or [[Doc:QErrorMessage]], while we're at it :-)