Changeset View
Changeset View
Standalone View
Standalone View
src/lib/accountmodel.cpp
Context not available. | |||||
149 | if (!file.exists()) { | 149 | if (!file.exists()) { | ||
---|---|---|---|---|---|
150 | return QIcon::fromTheme("user-identity").pixmap(size, size); | 150 | return QIcon::fromTheme("user-identity").pixmap(size, size); | ||
151 | } | 151 | } | ||
152 | return QPixmap(file.fileName()).scaled(size, size); | 152 | return QPixmap(file.fileName()).scaled(size, size, Qt::KeepAspectRatio, Qt::SmoothTransformation); | ||
153 | } | 153 | } | ||
154 | case AccountModel::RealName: | 154 | case AccountModel::RealName: | ||
155 | return acc->realName(); | 155 | return acc->realName(); | ||
Context not available. |