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