mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
merged master
This commit is contained in:
@@ -51,6 +51,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||
#pragma comment (lib,"Msimg32.lib")
|
||||
|
||||
namespace {
|
||||
QStringList _initLogs;
|
||||
|
||||
bool frameless = true;
|
||||
bool useDWM = false;
|
||||
bool useTheme = false;
|
||||
@@ -1778,6 +1780,14 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
QStringList psInitLogs() {
|
||||
return _initLogs;
|
||||
}
|
||||
|
||||
void psClearInitLogs() {
|
||||
_initLogs = QStringList();
|
||||
}
|
||||
|
||||
void psActivateProcess(uint64 pid) {
|
||||
if (pid) {
|
||||
::EnumWindows((WNDENUMPROC)_ActivateProcess, (LPARAM)&pid);
|
||||
|
Reference in New Issue
Block a user