mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-06 21:36:58 +03:00
NOISSUE Refactor and sanitize MultiMC startup/shutdown
* Always create main window. * Properly handle netowrk manager - it was created twice, leading to potential crashes.
This commit is contained in:
parent
37cc59c04d
commit
8b952b3870
17 changed files with 116 additions and 144 deletions
|
|
@ -40,7 +40,7 @@ void SkinUpload::executeTask()
|
|||
multiPart->append(model);
|
||||
multiPart->append(skin);
|
||||
|
||||
QNetworkReply *rep = ENV.qnam()->put(request, multiPart);
|
||||
QNetworkReply *rep = ENV.qnam().put(request, multiPart);
|
||||
m_reply = std::shared_ptr<QNetworkReply>(rep);
|
||||
|
||||
setStatus(tr("Uploading skin"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue