2
0
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:
John Preston
2016-02-28 16:54:04 +03:00
parent 5b345cbc2d
commit 0e49c13968
13 changed files with 108 additions and 136 deletions

View File

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