Task: 2026/11/17/hold-the-linux-widget-helper-for-telegrams-lifetime-and-strip-it
19 lines
424 B
C++
19 lines
424 B
C++
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
For license and copyright information please follow this link:
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
*/
|
|
#pragma once
|
|
|
|
namespace Platform::WidgetHelper {
|
|
|
|
#ifdef Q_OS_LINUX
|
|
void Hold();
|
|
#else // Q_OS_LINUX
|
|
inline void Hold() {
|
|
}
|
|
#endif // Q_OS_LINUX
|
|
|
|
} // namespace Platform::WidgetHelper
|