mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
rpcClear for mediaview, ImageLink changed to Location
This commit is contained in:
@@ -3660,6 +3660,6 @@ bool InitToastManager() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool psLaunchMaps(const QString &lat, const QString &lon) {
|
||||
return QDesktopServices::openUrl(qsl("bingmaps:?lvl=16&collection=point.") + lat + '_' + lon + '_' + qsl("Point"));
|
||||
bool psLaunchMaps(const LocationCoords &coords) {
|
||||
return QDesktopServices::openUrl(qsl("bingmaps:?lvl=16&collection=point.%1_%2_Point").arg(coords.lat).arg(coords.lon));
|
||||
}
|
||||
|
Reference in New Issue
Block a user