fix deckstats.net regex (#2886)
This commit is contained in:
parent
9cbdc4195e
commit
96b30da492
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ void DeckStatsInterface::queryFinished(QNetworkReply *reply)
|
||||||
QString data(reply->readAll());
|
QString data(reply->readAll());
|
||||||
reply->deleteLater();
|
reply->deleteLater();
|
||||||
|
|
||||||
QRegExp rx("<meta property=\"og:url\" content=\"([^\"]+)\"/>");
|
QRegExp rx("<meta property=\"og:url\" content=\"([^\"]+)\"");
|
||||||
if (-1 == rx.indexIn(data)) {
|
if (-1 == rx.indexIn(data)) {
|
||||||
QMessageBox::critical(0, tr("Error"), tr("The reply from the server could not be parsed."));
|
QMessageBox::critical(0, tr("Error"), tr("The reply from the server could not be parsed."));
|
||||||
deleteLater();
|
deleteLater();
|
||||||
|
|
Loading…
Reference in a new issue