mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Get rid of osx and linux32 special targets
This commit is contained in:
@@ -1552,11 +1552,7 @@ Link::Link(
|
||||
_title = _page->title;
|
||||
}
|
||||
|
||||
#ifndef OS_MAC_OLD
|
||||
auto parts = mainUrl.splitRef('/');
|
||||
#else // OS_MAC_OLD
|
||||
auto parts = mainUrl.split('/');
|
||||
#endif // OS_MAC_OLD
|
||||
if (!parts.isEmpty()) {
|
||||
auto domain = parts.at(0);
|
||||
if (parts.size() > 2 && domain.endsWith(':') && parts.at(1).isEmpty()) { // http:// and others
|
||||
|
Reference in New Issue
Block a user