mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Warn before running executable files.
This commit is contained in:
@@ -331,3 +331,11 @@ QString FileNameForSave(
|
||||
QString name,
|
||||
bool savingAs,
|
||||
const QDir &dir = QDir());
|
||||
|
||||
namespace Data {
|
||||
|
||||
QString FileExtension(const QString &filepath);
|
||||
bool IsValidMediaFile(const QString &filepath);
|
||||
bool IsExecutableName(const QString &filepath);
|
||||
|
||||
} // namespace Data
|
||||
|
Reference in New Issue
Block a user