2
0
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:
John Preston
2015-04-16 14:14:25 +03:00
parent 34d5c3777b
commit a356a4dc06
5 changed files with 21 additions and 3 deletions

View File

@@ -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;