New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: signal/slot macro -> func pointer & network fixes #1007
Fix: signal/slot macro -> func pointer & network fixes #1007
Conversation
6e97885
to
980362a
Compare
- convert qt connect calls to use function pointers instead of the signal/slot macros wherever practical (UI classes were mostly left alone, target was tasks and processes) - give signals an explicit receivers to use the static method over the instance method wherever practical - ensure networks tasks are using the `errorOccured` signal added in Qt5.15 over the deprecated `error` signal - ensure all networks tasks have an sslErrors signal connected - add seemingly missing `MinecraftAccount::authSucceeded` connection for `MSAInteractive` login flow Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
980362a
to
12f0d51
Compare
This appears to fix a crash in #904. |
Refrencing GDlauncher and ATLauncher code for auth as well as https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/reference/live/rest/additional/httpstandardheaders it is possible some of microsoft's server's are rejecting our request because of this missing header? Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
1588399
to
495103f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noteworth: The fix in #904 is mostly due to adding the QNetworkReply::errorOccurred
to Upload
, which is necessary for task abortion to work correctly.
damn there's a lot of code that should probably use our net/
stuff but doesn't xd
great work here tho! :D
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Conflicting with develop |
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
errorOccured
signal added in Qt5.15 over the deprecatederror
signalMinecraftAccount::authSucceeded
connection forMSAInteractive
login flowx-xbl-contract-version
header during xbox auth step (GDLauncher and ATLauncher set this)