equal
deleted
inserted
replaced
306 gameSettings = settings; |
306 gameSettings = settings; |
307 } |
307 } |
308 |
308 |
309 void HWChatWidget::linkClicked(const QUrl & link) |
309 void HWChatWidget::linkClicked(const QUrl & link) |
310 { |
310 { |
311 if ((link.scheme() == "http") or (link.scheme() == "https")) |
311 if ((link.scheme() == "http") || (link.scheme() == "https")) |
312 QDesktopServices::openUrl(link); |
312 QDesktopServices::openUrl(link); |
313 else if (link.scheme() == "hwnick") |
313 else if (link.scheme() == "hwnick") |
314 { |
314 { |
315 // decode nick |
315 // decode nick |
316 QString nick = QString::fromUtf8(QByteArray::fromBase64(link.query(QUrl::FullyDecoded).toLatin1())); |
316 QString nick = QString::fromUtf8(QByteArray::fromBase64(link.query(QUrl::FullyDecoded).toLatin1())); |