mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-15 18:21:35 +03:00
ConnectionValidator: Set a 20 second timeout for Avatar request.
This commit is contained in:
parent
2a12610a46
commit
c00e3e8c0a
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ void ConnectionValidator::slotUserFetched(const QVariantMap &json)
|
|||
_account->setDavUser(user);
|
||||
|
||||
AvatarJob *job = new AvatarJob(_account, this);
|
||||
job->setTimeout(20*1000);
|
||||
QObject::connect(job, SIGNAL(avatarPixmap(QPixmap)), this, SLOT(slotAvatarPixmap(QPixmap)));
|
||||
|
||||
job->start();
|
||||
|
|
Loading…
Reference in a new issue