mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 00:15:42 +00:00
fixed win version after os x build
This commit is contained in:
@@ -895,8 +895,9 @@ void PsMainWindow::psIdleTimeout() {
|
||||
}
|
||||
}
|
||||
|
||||
bool PsMainWindow::psIsActive() const {
|
||||
return isActiveWindow() && isVisible() && !(windowState() & Qt::WindowMinimized) && !psIdle;
|
||||
bool PsMainWindow::psIsActive(int state) const {
|
||||
if (state < 0) state = this->windowState();
|
||||
return isActiveWindow() && isVisible() && !(state & Qt::WindowMinimized) && !psIdle;
|
||||
}
|
||||
|
||||
bool PsMainWindow::psIsOnline(int windowState) const {
|
||||
|
Reference in New Issue
Block a user