mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Make dimming intensity part of the cache key.
This commit is contained in:
parent
33e66d21bd
commit
b569078e96
1 changed files with 4 additions and 1 deletions
|
@ -298,7 +298,10 @@ QString WallPaper::key() const {
|
|||
? QString::number(_id)
|
||||
: StringFromColors(backgroundColors()))
|
||||
: ("bg/" + _slug);
|
||||
const auto params = collectShareParams();
|
||||
auto params = collectShareParams();
|
||||
if (_document && !isPattern()) {
|
||||
params += u"&intensity="_q + QString::number(_intensity);
|
||||
}
|
||||
return params.isEmpty() ? base : (base + '?' + params.join('&'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue