We should probably display an error message to the user before returning so that he/she is aware it failed (http://qt-project.org/doc/qt-4.8/qmessagebox.html#warning).