mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added ability to prevent application lock and account switch.
This commit is contained in:
@@ -317,6 +317,10 @@ void Controller::close() {
|
||||
_widget.close();
|
||||
}
|
||||
|
||||
void Controller::preventOrInvoke(Fn<void()> &&callback) {
|
||||
_widget.preventOrInvoke(std::move(callback));
|
||||
}
|
||||
|
||||
QPoint Controller::getPointForCallPanelCenter() const {
|
||||
Expects(_widget.windowHandle() != nullptr);
|
||||
|
||||
|
Reference in New Issue
Block a user