GH-3392 make sure skin upload at least doesn't fail completely
This commit is contained in:
parent
44d634f564
commit
4ea52f4758
@ -15,7 +15,7 @@ void SkinUploadDialog::on_buttonBox_rejected()
|
||||
void SkinUploadDialog::on_buttonBox_accepted()
|
||||
{
|
||||
AuthSessionPtr session = std::make_shared<AuthSession>();
|
||||
auto login = m_acct->login(session);
|
||||
auto login = m_acct->refresh(session);
|
||||
ProgressDialog prog(this);
|
||||
if (prog.execWithTask((Task*)login.get()) != QDialog::Accepted)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user