mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Application->Sandbox, Messenger->Application.
This commit is contained in:
@@ -329,11 +329,11 @@ QString SystemCountry() {
|
||||
}
|
||||
|
||||
bool IsApplicationActive() {
|
||||
return static_cast<QApplication*>(QApplication::instance())->activeWindow() != nullptr;
|
||||
return QApplication::activeWindow() != nullptr;
|
||||
}
|
||||
|
||||
void SetApplicationIcon(const QIcon &icon) {
|
||||
qApp->setWindowIcon(icon);
|
||||
QApplication::setWindowIcon(icon);
|
||||
}
|
||||
|
||||
QString CurrentExecutablePath(int argc, char *argv[]) {
|
||||
|
Reference in New Issue
Block a user