GH-3392 make sure skin upload at least doesn't fail completely

This commit is contained in:
Petr Mrázek 2021-08-15 23:46:12 +02:00
parent 44d634f564
commit 4ea52f4758

View File

@ -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)
{