mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
dont cache default background image, cmd+m minimizes window in os x
This commit is contained in:
@@ -1591,7 +1591,7 @@ void MainWidget::checkChatBackground() {
|
||||
if (_background->full->isNull()) {
|
||||
App::initBackground();
|
||||
} else {
|
||||
App::initBackground(_background->id, _background->full->pix().toImage());
|
||||
App::initBackground(_background->id, _background->id ? _background->full->pix().toImage() : QImage());
|
||||
}
|
||||
delete _background;
|
||||
_background = 0;
|
||||
|
Reference in New Issue
Block a user