mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 04:30:37 -04:00
Changelog: 1.8.15 (07.10.19) - Bug fixes and other minor improvements. 1.8.14 (03.10.19) - Bug fixes and other minor improvements. 1.8.13 (03.10.19) - Bug fixes and other minor improvements. 1.8.12 (02.10.19) - Bug fixes and other minor improvements. 1.8.11 (01.10.19) - Bug fixes and other minor improvements. 1.8.10 (30.09.19) - Bug fixes and other minor improvements. PR: 241319 Submitted by: Henry Hu <henry.hu.sh@gmail.com> (maintainer)
11 lines
551 B
C++
11 lines
551 B
C++
--- Telegram/SourceFiles/data/data_document.cpp.orig 2019-10-07 15:58:21 UTC
|
|
+++ Telegram/SourceFiles/data/data_document.cpp
|
|
@@ -140,7 +140,7 @@ QString FileNameUnsafe(
|
|
name = name.replace(QRegularExpression(qsl("[\\\\\\/\\:\\*\\?\\\"\\<\\>\\|]")), qsl("_"));
|
|
#elif defined Q_OS_MAC
|
|
name = name.replace(QRegularExpression(qsl("[\\:]")), qsl("_"));
|
|
-#elif defined Q_OS_LINUX
|
|
+#elif defined Q_OS_LINUX || defined Q_OS_FREEBSD
|
|
name = name.replace(QRegularExpression(qsl("[\\/]")), qsl("_"));
|
|
#endif
|
|
if (Global::AskDownloadPath() || savingAs) {
|