Closed alpha 1.4.7.5: Fix build on Xcode.

This commit is contained in:
John Preston 2018-11-29 16:52:00 +04:00
parent c2a2f8dabd
commit 776dd8b928
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Databases;
namespace Core {
class Launcher;
class LocalUrlHandler;
struct LocalUrlHandler;
} // namespace Core
namespace Window {

View File

@ -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();