2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

some thread work fixes, no contacts msgs added, username info msgs added

This commit is contained in:
John Preston
2014-11-25 15:15:29 +03:00
parent 9e1d5da5a1
commit 8b743ae751
27 changed files with 355 additions and 145 deletions

View File

@@ -64,18 +64,19 @@ void BackgroundWidget::onClose() {
startHide();
}
void BackgroundWidget::onInnerClose() {
if (_hidden) {
w->deleteLater();
w = _hidden;
_hidden = 0;
w->show();
resizeEvent(0);
w->animStep(1);
update();
} else {
bool BackgroundWidget::onInnerClose() {
if (!_hidden) {
onClose();
return true;
}
w->deleteLater();
w = _hidden;
_hidden = 0;
w->show();
resizeEvent(0);
w->animStep(1);
update();
return false;
}
void BackgroundWidget::startHide() {