mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-29 15:01:03 +00:00
Closed alpha 1.4.7.5: Fix build on Xcode.
This commit is contained in:
parent
c2a2f8dabd
commit
776dd8b928
@ -25,7 +25,7 @@ class Databases;
|
||||
|
||||
namespace Core {
|
||||
class Launcher;
|
||||
class LocalUrlHandler;
|
||||
struct LocalUrlHandler;
|
||||
} // namespace Core
|
||||
|
||||
namespace Window {
|
||||
|
@ -218,7 +218,11 @@ QString ParseOccupationName(History *history) {
|
||||
return 0;
|
||||
}
|
||||
} else if (part.startsWith(qstr("n:"))) {
|
||||
#ifndef OS_MAC_OLD
|
||||
result = part.mid(2).toString();
|
||||
#else // OS_MAC_OLD
|
||||
result = part.mid(2);
|
||||
#endif // OS_MAC_OLD
|
||||
}
|
||||
}
|
||||
return valid ? result : QString();
|
||||
|
Loading…
Reference in New Issue
Block a user