mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Use separate download folder for support.
This commit is contained in:
@@ -138,6 +138,16 @@ void ShowInFolder(const QString &filepath) {
|
||||
});
|
||||
}
|
||||
|
||||
QString DefaultDownloadPath() {
|
||||
return QStandardPaths::writableLocation(
|
||||
QStandardPaths::DownloadLocation)
|
||||
+ '/'
|
||||
+ (AuthSession::Exists() && Auth().supportMode()
|
||||
? "Tsupport Desktop"
|
||||
: str_const_toString(AppName))
|
||||
+ '/';
|
||||
}
|
||||
|
||||
namespace internal {
|
||||
|
||||
void UnsafeOpenEmailLinkDefault(const QString &email) {
|
||||
|
Reference in New Issue
Block a user