open profile links with HTTPS

This commit is contained in:
Rafael 2016-04-07 17:36:15 +02:00
parent b06706a895
commit 04198d6028

View file

@ -93,7 +93,7 @@ void PictureDialog::setSnapmaticPicture(SnapmaticPicture *picture, QString pictu
foreach (const QString &player, plyrsList) foreach (const QString &player, plyrsList)
{ {
QString playerName = profileDB->getPlayerName(player.toInt()); QString playerName = profileDB->getPlayerName(player.toInt());
plyrsStr.append(", <a href=\"http://socialclub.rockstargames.com/member/"); plyrsStr.append(", <a href=\"https://socialclub.rockstargames.com/member/");
plyrsStr.append(playerName); plyrsStr.append(playerName);
plyrsStr.append("/"); plyrsStr.append("/");
plyrsStr.append(player); plyrsStr.append(player);
@ -136,7 +136,7 @@ void PictureDialog::playerNameUpdated()
foreach (const QString &player, plyrsList) foreach (const QString &player, plyrsList)
{ {
QString playerName = profileDB->getPlayerName(player.toInt()); QString playerName = profileDB->getPlayerName(player.toInt());
plyrsStr.append(", <a href=\"http://socialclub.rockstargames.com/member/"); plyrsStr.append(", <a href=\"https://socialclub.rockstargames.com/member/");
if (playerName != player) if (playerName != player)
{ {
plyrsStr.append(playerName); plyrsStr.append(playerName);