mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Closed alpha 1.4.7.5: Fix build on Xcode.
This commit is contained in:
parent
c2a2f8dabd
commit
776dd8b928
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue