Revert "Fix unused variable"

This reverts commit 296294fc51.

It went too soon to dev.
This commit is contained in:
Eric Kotato 2022-02-14 18:22:23 +03:00
parent f55aa06e0a
commit f0676bbe46

View file

@ -182,7 +182,7 @@ void Userpic::refreshPhoto() {
void Userpic::createCache(Image *image) {
const auto size = this->size();
const auto real = size * cIntRetinaFactor();
// auto options = Images::Option::Smooth | Images::Option::Circled;
auto options = Images::Option::Smooth | Images::Option::Circled;
// _useTransparency ? (Images::Option::RoundedLarge | Images::Option::RoundedTopLeft | Images::Option::RoundedTopRight | Images::Option::Smooth) : Images::Option::None;
if (image) {
auto width = image->width();