remove dead assignment in mediawiki.cc

This commit is contained in:
Passw 2020-10-25 20:12:33 +08:00 committed by GitHub
parent 9fb33d10bd
commit 30a61c0ee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -509,7 +509,6 @@ void MediaWikiArticleRequest::requestFinished( QNetworkReply * r )
"<a href=\"" + wikiUrl.scheme().toStdString() + "://\\1\"><img src=\"qrcx://localhost/icons/playsound.png\" border=\"0\" alt=\"Play\"></a>" ) );
// In those strings, change any underscores to spaces
#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
pos = 0;
QRegularExpression rxLink( "<a\\s+href=\"[^/:\">#]+" );
it = rxLink.globalMatch( articleString );
while( it.hasNext() )