mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
some thread work fixes, no contacts msgs added, username info msgs added
This commit is contained in:
@@ -434,6 +434,7 @@ void Window::clearWidgets() {
|
||||
}
|
||||
|
||||
void Window::setupIntro(bool anim) {
|
||||
cSetContactsReceived(false);
|
||||
if (intro && (intro->animating() || intro->isVisible()) && !main) return;
|
||||
|
||||
QPixmap bg = myGrab(this, QRect(0, st::titleHeight, width(), height() - st::titleHeight));
|
||||
@@ -636,6 +637,13 @@ void Window::hideLayer() {
|
||||
}
|
||||
}
|
||||
|
||||
bool Window::hideInnerLayer() {
|
||||
if (layerBG) {
|
||||
return layerBG->onInnerClose();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Window::layerShown() {
|
||||
return !!layerBG || !!_topWidget;
|
||||
}
|
||||
@@ -810,6 +818,12 @@ void Window::updateTrayMenu(bool force) {
|
||||
#endif
|
||||
}
|
||||
|
||||
void Window::onShowAddContact() {
|
||||
if (isHidden()) showFromTray();
|
||||
|
||||
if (main) main->showAddContact();
|
||||
}
|
||||
|
||||
void Window::onShowNewGroup() {
|
||||
if (isHidden()) showFromTray();
|
||||
|
||||
|
Reference in New Issue
Block a user