mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
Fix regex warning
This commit is contained in:
@@ -1911,7 +1911,7 @@ void OrganizerCore::requestDownload(const QUrl &url, QNetworkReply *reply)
|
||||
QString gameName = "";
|
||||
int modID = 0;
|
||||
int fileID = 0;
|
||||
QRegExp nameExp("www\.nexusmods\.com/(\\a+)/");
|
||||
QRegExp nameExp("www\\.nexusmods\\.com/(\\a+)/");
|
||||
if (nameExp.indexIn(url.toString()) != -1) {
|
||||
gameName = nameExp.cap(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user