Revert "Fix unused variable"
This reverts commit 296294fc51.
It went too soon to dev.
This commit is contained in:
parent
f55aa06e0a
commit
f0676bbe46
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ void Userpic::refreshPhoto() {
|
||||||
void Userpic::createCache(Image *image) {
|
void Userpic::createCache(Image *image) {
|
||||||
const auto size = this->size();
|
const auto size = this->size();
|
||||||
const auto real = size * cIntRetinaFactor();
|
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;
|
// _useTransparency ? (Images::Option::RoundedLarge | Images::Option::RoundedTopLeft | Images::Option::RoundedTopRight | Images::Option::Smooth) : Images::Option::None;
|
||||||
if (image) {
|
if (image) {
|
||||||
auto width = image->width();
|
auto width = image->width();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue