[Interest] QNetwork classes for submitting google forms
Max Paperno
max-l at wdg.us
Sat Jun 12 06:05:08 CEST 2021
On 6/11/2021 10:32 PM, Thiago Macieira wrote:
> On Friday, 11 June 2021 14:10:57 PDT Max Paperno wrote:
>> while (!gotResponse)
>> sleep(1) // or whatever sleep method, just waiting for a response.
>
> NEVER EVER sleep.
>
> Insert a "return" here and let your slot be called when the time is right.
>
Right, too much Python lately... "should" have been `processEvents()`
which is when I realized there were no events to process w/out a Qt loop
in the first place. Returning from main() wouldn't have solved the
issue though.
-Max
More information about the Interest
mailing list