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