ConnectionValidator: Set a 20 second timeout for Avatar request.

This commit is contained in:
Klaas Freitag 2017-01-23 21:35:12 +01:00
parent 2a12610a46
commit c00e3e8c0a

View file

@ -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();