mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Remove namespace App.
This commit is contained in:
@@ -855,7 +855,9 @@ void Application::switchDebugMode() {
|
||||
Logs::SetDebugEnabled(true);
|
||||
_launcher->writeDebugModeSetting();
|
||||
DEBUG_LOG(("Debug logs started."));
|
||||
Ui::hideLayer();
|
||||
if (_primaryWindow) {
|
||||
_primaryWindow->hideLayer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -966,6 +968,12 @@ bool Application::canApplyLangPackWithoutRestart() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Application::checkSendPaths() {
|
||||
if (!cSendPaths().isEmpty() && _primaryWindow && !_primaryWindow->locked()) {
|
||||
_primaryWindow->widget()->sendPaths();
|
||||
}
|
||||
}
|
||||
|
||||
void Application::checkStartUrl() {
|
||||
if (!cStartUrl().isEmpty() && _primaryWindow && !_primaryWindow->locked()) {
|
||||
const auto url = cStartUrl();
|
||||
|
Reference in New Issue
Block a user