A quick and dirty fix is to make installFile() a slot and in httpRequestFinished() invoke the slot with help of timer (to allow control to return to QHttp, where the signal was emitted from):
Notice also that you can't either delete the file here because you will later use it in installFile().Qt Code:
if (error) { ... } else { //installFile(); } //delete file; //file = 0;To copy to clipboard, switch view to plain text mode
Bookmarks