diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-18 21:54:23 +0300 |
---|---|---|
committer | Michael Schuster <michael@schuster.ms> | 2020-05-20 04:54:41 +0300 |
commit | 712869db9a68025362798a4ff9ccc9f3e424a417 (patch) | |
tree | d29fb71b6a914e49bf770c5c623ef36f9018b145 /src/gui/userinfo.cpp | |
parent | 3d2de4fc408320d362d05fc9258449f67faccc4c (diff) |
Use auto to avoiding repeating type names
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/gui/userinfo.cpp')
-rw-r--r-- | src/gui/userinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userinfo.cpp b/src/gui/userinfo.cpp index 4f1446edf..c7916c516 100644 --- a/src/gui/userinfo.cpp +++ b/src/gui/userinfo.cpp @@ -137,7 +137,7 @@ void UserInfo::slotUpdateLastInfo(const QJsonDocument &json) // Avatar Image if(_fetchAvatarImage) { - AvatarJob *job = new AvatarJob(account, account->davUser(), 128, this); + auto *job = new AvatarJob(account, account->davUser(), 128, this); job->setTimeout(20 * 1000); QObject::connect(job, &AvatarJob::avatarPixmap, this, &UserInfo::slotAvatarImage); job->start(); |