mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Load fullres images of new wallpapers.
This commit is contained in:
@@ -389,7 +389,7 @@ void ChatBackground::start() {
|
||||
}
|
||||
}
|
||||
|
||||
void ChatBackground::setImage(int32 id, QImage &&image) {
|
||||
void ChatBackground::setImage(WallPaperId id, QImage &&image) {
|
||||
auto needResetAdjustable = (id == kDefaultBackground)
|
||||
&& (_id != kDefaultBackground)
|
||||
&& !nightMode()
|
||||
@@ -528,7 +528,7 @@ void ChatBackground::adjustPaletteUsingBackground(const QImage &img) {
|
||||
}
|
||||
}
|
||||
|
||||
int32 ChatBackground::id() const {
|
||||
WallPaperId ChatBackground::id() const {
|
||||
return _id;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user