Commit 4eeb0270 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

piwigo: Account for version numbers with more than one number

parent ede22cc8
Pipeline #119596 skipped
......@@ -451,7 +451,7 @@ void PiwigoTalker::parseResponseGetVersion(const QByteArray& data)
{
QXmlStreamReader ts(data);
QString line;
QRegExp verrx(QString::fromLatin1(".?(\\d)\\.(\\d).*"));
QRegExp verrx(QString::fromLatin1(".?(\\d+)\\.(\\d+).*"));
bool foundResponse = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment