2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Get rid of redudant cmake options

This commit is contained in:
Ilya Fedin
2020-08-31 12:26:16 +04:00
committed by John Preston
parent f128665f6b
commit 70c993774a
9 changed files with 6 additions and 44 deletions

View File

@@ -1461,7 +1461,6 @@ void InstallMainDesktopFile() {
}
void RegisterCustomScheme(bool force) {
#ifndef TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
if (cExeName().isEmpty()) {
return;
}
@@ -1510,7 +1509,6 @@ void RegisterCustomScheme(bool force) {
LOG(("App Error: %1").arg(error->message));
g_error_free(error);
}
#endif // !TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
}
PermissionStatus GetPermissionStatus(PermissionType type) {