anda_skoa, thanks for reply!
Oh it's my fault, 12 hours with PC is a bad thing 
I forgot to create a new instance:
AppApi a;
a.makeRequest();
AppApi a;
a.makeRequest();
To copy to clipboard, switch view to plain text mode
Here the "solution".
AppApi *a = new AppApi;
a->makeRequest();
AppApi *a = new AppApi;
a->makeRequest();
To copy to clipboard, switch view to plain text mode
Some questions.
- How i can make async requests and return response without creating new instances for AppApi? (static functions?)
For example, i have a class UserApi which inherits AppApi and i need able to use makeRequest().
- Should i use deleteLater() after i process request response?
Thanks
Bookmarks